Remove 'with'

This commit is contained in:
Brian Anderson
2012-09-04 13:29:32 -07:00
parent ef880f2245
commit 200959d7ce
77 changed files with 404 additions and 419 deletions

View File

@@ -35,13 +35,13 @@ trait append_types {
impl @ast::path: append_types {
fn add_ty(ty: @ast::ty) -> @ast::path {
@{types: vec::append_one(self.types, ty)
with *self}
@{types: vec::append_one(self.types, ty),
.. *self}
}
fn add_tys(+tys: ~[@ast::ty]) -> @ast::path {
@{types: vec::append(self.types, tys)
with *self}
@{types: vec::append(self.types, tys),
.. *self}
}
}