From 86cf22b0acdca8212e1ceae699bd288b4b879e3d Mon Sep 17 00:00:00 2001 From: Craig Roy Date: Wed, 13 Sep 2023 16:30:45 +0100 Subject: [PATCH] docs: Drive by change to comments --- src/algorithm/nest_cfgs.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/algorithm/nest_cfgs.rs b/src/algorithm/nest_cfgs.rs index 2680213c6..0706522c8 100644 --- a/src/algorithm/nest_cfgs.rs +++ b/src/algorithm/nest_cfgs.rs @@ -429,7 +429,7 @@ pub(crate) mod test { let mut cfg_builder = CFGBuilder::new(FunctionType::new(type_row![NAT], type_row![NAT]))?; let pred_const = - cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which + cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which branch let const_unit = cfg_builder.add_constant(Const::simple_unary_predicate(), ExtensionSet::new())?; @@ -678,7 +678,7 @@ pub(crate) mod test { ) -> Result<(Hugr, BasicBlockID, BasicBlockID), BuildError> { let mut cfg_builder = CFGBuilder::new(FunctionType::new(type_row![NAT], type_row![NAT]))?; let pred_const = - cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which + cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which branch let const_unit = cfg_builder.add_constant(Const::simple_unary_predicate(), ExtensionSet::new())?; @@ -716,7 +716,7 @@ pub(crate) mod test { let mut cfg_builder = CFGBuilder::new(FunctionType::new(type_row![NAT], type_row![NAT]))?; let pred_const = - cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which + cfg_builder.add_constant(Const::simple_predicate(0, 2), ExtensionSet::new())?; // Nothing here cares which branch let const_unit = cfg_builder.add_constant(Const::simple_unary_predicate(), ExtensionSet::new())?;