From 38a2eed56c6210bf22ef6320556579b25692c7c6 Mon Sep 17 00:00:00 2001 From: Craig Roy Date: Mon, 4 Sep 2023 14:47:33 +0100 Subject: [PATCH] doc: Comment --- src/builder.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/builder.rs b/src/builder.rs index 2a809e6a4..0f85bd1ac 100644 --- a/src/builder.rs +++ b/src/builder.rs @@ -135,7 +135,8 @@ pub(crate) mod test { /// A helper method which creates a DFG rooted hugr with closed resources, /// for tests which want to avoid having open extension variables after - /// inference. + /// inference. Using DFGBuilder will default to a root node with an open + /// extension variable pub(crate) fn closed_dfg_root_hugr(signature: FunctionType) -> Hugr { let mut hugr = Hugr::new(NodeType::pure(ops::DFG { signature: signature.clone(),