Skip to content

Commit

Permalink
docs: Drive by change to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
croyzor committed Sep 13, 2023
1 parent c7af5c3 commit 86cf22b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/algorithm/nest_cfgs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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())?;

Expand Down Expand Up @@ -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())?;

Expand Down Expand Up @@ -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())?;

Expand Down

0 comments on commit 86cf22b

Please sign in to comment.