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

@@ -313,8 +313,8 @@ fn split_trait_methods(trait_methods: ~[trait_method])
let mut reqd = ~[], provd = ~[];
for trait_methods.each |trt_method| {
match *trt_method {
required(tm) => vec::push(reqd, tm),
provided(m) => vec::push(provd, m)
required(tm) => reqd.push(tm),
provided(m) => provd.push(m)
}
};
(reqd, provd)