Demode vec::push (and convert to method)

This commit is contained in:
Niko Matsakis
2012-09-26 17:33:34 -07:00
parent cd79e1d1b2
commit 67a8e7128a
134 changed files with 688 additions and 674 deletions

View File

@@ -229,7 +229,7 @@ impl parser: parser_common {
}
_ => ()
}
vec::push(v, f(self));
v.push(f(self));
}
return v;
@@ -274,7 +274,7 @@ impl parser: parser_common {
_ => ()
}
if sep.trailing_sep_allowed && self.token == ket { break; }
vec::push(v, f(self));
v.push(f(self));
}
return v;
}