Skip to content

Commit

Permalink
correct comments
Browse files Browse the repository at this point in the history
  • Loading branch information
acl-cqc committed Sep 14, 2023
1 parent 341a4e9 commit 55f2510
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/hugr/rewrite/outline_cfg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ impl Rewrite for OutlineCfg {
.children(new_block)
.filter(|n| in_bb_view.get_optype(*n).tag() == OpTag::Cfg)
.exactly_one()
.ok() // HugrMut::Children is not Debug
.ok() // HugrView::Children is not Debug
.unwrap();
let in_cfg_view: SiblingGraph<'_, CfgID> =
SiblingGraph::try_new(&in_bb_view, cfg_node).unwrap();
Expand All @@ -172,7 +172,7 @@ impl Rewrite for OutlineCfg {
}

{
// These operations do not fit into any SiblingView
// These operations do not fit within any CSG/SiblingMut
// so we need to access the Hugr directly.
let h = h.hugr_mut();

Expand Down

0 comments on commit 55f2510

Please sign in to comment.