Skip to content

Commit

Permalink
fix some comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ss2165 authored Aug 15, 2024
1 parent f4b4cb2 commit 1121361
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion hugr-core/src/extension.rs
Original file line number Diff line number Diff line change
Expand Up @@ -596,7 +596,7 @@ pub mod test {
Self::new(name, Version::new(0, 0, 0))
}

/// Add a simple OpDef to the extension and return an extension op for it..
/// Add a simple OpDef to the extension and return an extension op for it.
/// No description, no type parameters.
pub(crate) fn simple_ext_op(
&mut self,
Expand Down
1 change: 0 additions & 1 deletion hugr-core/src/hugr/rewrite/replace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -641,7 +641,6 @@ mod test {
fn test_invalid() {
let mut new_ext = crate::Extension::new_test("new_ext".try_into().unwrap());
let ext_name = new_ext.name().clone();
// let unknown_ext: ExtensionId = "unknown_ext".try_into().unwrap();
let utou = Signature::new_endo(vec![USIZE_T]);
let mut mk_op = |s| new_ext.simple_ext_op(s, utou.clone());
let mut h = DFGBuilder::new(
Expand Down

0 comments on commit 1121361

Please sign in to comment.