core: option.map_consume -> option.map_move
This commit is contained in:
parent
9218aaa00e
commit
1e490813b0
53 changed files with 176 additions and 175 deletions
|
@ -1313,7 +1313,7 @@ impl Parser {
|
|||
|
||||
// If the path might have bounds on it, they should be parsed before
|
||||
// the parameters, e.g. module::TraitName:B1+B2<T>
|
||||
before_tps.map_consume(|callback| callback());
|
||||
before_tps.map_move(|callback| callback());
|
||||
|
||||
// Parse the (obsolete) trailing region parameter, if any, which will
|
||||
// be written "foo/&x"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue