Skip to content

Commit 402cc24

Browse files
committed
Lints.
1 parent 2f72534 commit 402cc24

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hugr-core/src/types/type_param.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ impl Term {
179179
Self::TupleType(Box::new(item_types.into()))
180180
}
181181

182-
/// Creates a new [`Term::Const`] from a runtime type.
182+
/// Creates a new [`Term::ConstType`] from a runtime type.
183183
pub fn new_const(ty: impl Into<Type>) -> Self {
184184
Self::ConstType(Box::new(ty.into()))
185185
}

0 commit comments

Comments
 (0)