Skip to content

Commit

Permalink
doc: Comment
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor committed Sep 4, 2023
1 parent e0381da commit 38a2eed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 38a2eed

Please sign in to comment.