syntax: remove obsolete mutability from ExprVec and ExprRepeat.
This commit is contained in:
parent
b236f45e35
commit
7c48e53c1e
19 changed files with 54 additions and 67 deletions
|
@ -347,7 +347,7 @@ impl<'a> CFGBuilder<'a> {
|
|||
self.add_node(expr.id, [])
|
||||
}
|
||||
|
||||
ast::ExprVec(ref elems, _) => {
|
||||
ast::ExprVec(ref elems) => {
|
||||
self.straightline(expr, pred, elems.as_slice())
|
||||
}
|
||||
|
||||
|
@ -379,7 +379,7 @@ impl<'a> CFGBuilder<'a> {
|
|||
self.straightline(expr, base_exit, field_exprs.as_slice())
|
||||
}
|
||||
|
||||
ast::ExprRepeat(elem, count, _) => {
|
||||
ast::ExprRepeat(elem, count) => {
|
||||
self.straightline(expr, pred, [elem, count])
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue