libsyntax: Remove all non-proc do syntax.

This commit is contained in:
Patrick Walton
2013-11-20 16:23:04 -08:00
parent a61a3678eb
commit efc512362b
26 changed files with 178 additions and 192 deletions

View File

@@ -254,12 +254,12 @@ pub fn unguarded_pat(a: &Arm) -> Option<~[@Pat]> {
}
pub fn public_methods(ms: ~[@method]) -> ~[@method] {
do ms.move_iter().filter |m| {
ms.move_iter().filter(|m| {
match m.vis {
public => true,
_ => false
}
}.collect()
}).collect()
}
// extract a TypeMethod from a trait_method. if the trait_method is