Skip to content

Commit

Permalink
Comments
Browse files Browse the repository at this point in the history
  • Loading branch information
zrho committed Nov 21, 2024
1 parent cf94a88 commit 7823ac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 1 addition & 0 deletions hugr-core/src/export.rs
Original file line number Diff line number Diff line change
Expand Up @@ -877,6 +877,7 @@ impl<'a> Context<'a> {
let mut items = BumpVec::with_capacity_in(capacity, self.bump);

for ext in ext_set.iter() {
// `ExtensionSet`s represent variables by extension names that parse to integers.
match ext.parse::<u16>() {
Ok(var) => {
let node = self.local_scope.expect("local variable out of scope");
Expand Down
4 changes: 1 addition & 3 deletions hugr-model/src/v0/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -569,11 +569,9 @@ pub enum Term<'a> {
r#type: TermId,
},

/// A list.
/// A list. May include individual items or other lists to be spliced in.
List {
/// The items in the list.
///
/// `item-i : item-type`
items: &'a [ListItem],
},

Expand Down

0 comments on commit 7823ac9

Please sign in to comment.