diff --git a/hugr-passes/src/monomorphize.rs b/hugr-passes/src/monomorphize.rs index 376b4a3ab..ee1d8557c 100644 --- a/hugr-passes/src/monomorphize.rs +++ b/hugr-passes/src/monomorphize.rs @@ -259,7 +259,7 @@ use crate::validation::{ValidatePassError, ValidationLevel}; /// /// If the Hugr is [Module](OpType::Module)-rooted, /// * then the original polymorphic [FuncDefn]s are left untouched (including Calls inside them) -/// - call [remove_polyfuncs] when no other Hugr will be linked in that might instantiate these +/// - call [remove_polyfuncs_ref] when no other Hugr will be linked in that might instantiate these /// * else, the originals are removed (they are invisible from outside the Hugr). /// /// If the Hugr is [FuncDefn](OpType::FuncDefn)-rooted with polymorphic