From f5ca72e64eae1d49e0eca76f07a89c5372995d99 Mon Sep 17 00:00:00 2001 From: Seyon Sivarajah Date: Wed, 18 Dec 2024 12:40:34 +0000 Subject: [PATCH] Update hugr-passes/src/monomorphize.rs Co-authored-by: Douglas Wilson <141026920+doug-q@users.noreply.github.com> --- hugr-passes/src/monomorphize.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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