1
Fork 0

libsyntax: Remove move as a keyword.

This commit is contained in:
Luqman Aden 2013-02-15 02:49:32 -08:00
parent 178882c98f
commit 3a19eef496
2 changed files with 2 additions and 2 deletions

View file

@ -712,7 +712,7 @@ pub impl Parser {
fn parse_capture_item_or(parse_arg_fn: fn(Parser) -> arg_or_capture_item)
-> arg_or_capture_item
{
if self.eat_keyword(~"move") || self.eat_keyword(~"copy") {
if self.eat_keyword(~"copy") {
// XXX outdated syntax now that moves-based-on-type has gone in
self.parse_ident();
either::Right(())