core: option.map_consume -> option.map_move

This commit is contained in:
Erick Tryzelaar 2013-08-04 14:59:36 -07:00
parent 9218aaa00e
commit 1e490813b0
53 changed files with 176 additions and 175 deletions

View file

@ -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"