fixup mutability of vec::each, make iter_bytes pure
also, change DVec() to work with imm vectors rather than mut ones
This commit is contained in:
parent
8fbe4b5841
commit
5d540de769
34 changed files with 357 additions and 186 deletions
|
@ -3556,8 +3556,8 @@ impl parser {
|
|||
}
|
||||
|
||||
{attrs_remaining: attrs,
|
||||
view_items: vec::from_mut(dvec::unwrap(move view_items)),
|
||||
items: vec::from_mut(dvec::unwrap(move items))}
|
||||
view_items: dvec::unwrap(move view_items),
|
||||
items: dvec::unwrap(move items)}
|
||||
}
|
||||
|
||||
// Parses a source module as a crate
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue