Skip to content

Commit

Permalink
comment
Browse files Browse the repository at this point in the history
  • Loading branch information
doug-q committed Sep 4, 2024
1 parent 7f721b9 commit 75ad046
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hugr-cli/src/validate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,13 +57,13 @@ impl Package {
///
/// Returns the validated modules.
pub fn validate(mut self, reg: &mut ExtensionRegistry) -> Result<Vec<Hugr>, ValError> {
// register packed extension
// register packed extensions
for ext in self.extensions {
reg.register_updated(ext)?;
}

for hugr in self.modules.iter_mut() {
hugr.update_validate(&reg)?;
hugr.update_validate(reg)?;
}

Ok(self.modules)
Expand Down

0 comments on commit 75ad046

Please sign in to comment.