diff options
| author | Patrick Walton <pcwalton@mimiga.net> | 2012-10-15 14:56:42 -0700 |
|---|---|---|
| committer | Patrick Walton <pcwalton@mimiga.net> | 2012-10-15 15:35:36 -0700 |
| commit | 91ae5412d8141ea958924408bf3c1def5edca806 (patch) | |
| tree | 65e295ba7ac7159ea3f7fe172e1a241114ef5e2d /src/libsyntax/ext/pipes/pipec.rs | |
| parent | c5b82a65e96cfe77e4983e78a34a7d5aa91329b4 (diff) | |
| download | rust-91ae5412d8141ea958924408bf3c1def5edca806.tar.gz rust-91ae5412d8141ea958924408bf3c1def5edca806.zip | |
rustc: Merge module and type namespaces. r=brson
Diffstat (limited to 'src/libsyntax/ext/pipes/pipec.rs')
| -rw-r--r-- | src/libsyntax/ext/pipes/pipec.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libsyntax/ext/pipes/pipec.rs b/src/libsyntax/ext/pipes/pipec.rs index 874ea01e9b0..7e1cbe9ad0d 100644 --- a/src/libsyntax/ext/pipes/pipec.rs +++ b/src/libsyntax/ext/pipes/pipec.rs @@ -181,7 +181,7 @@ impl message: gen_send { } } - fn to_ty(cx: ext_ctxt) -> @ast::ty { + fn to_ty(cx: ext_ctxt) -> @ast::Ty { cx.ty_path_ast_builder(path(~[cx.ident_of(self.name())], self.span()) .add_tys(cx.ty_vars(self.get_params()))) } @@ -360,7 +360,7 @@ impl protocol: gen_init { }} } - fn buffer_ty_path(cx: ext_ctxt) -> @ast::ty { + fn buffer_ty_path(cx: ext_ctxt) -> @ast::Ty { let mut params: ~[ast::ty_param] = ~[]; for (copy self.states).each |s| { for s.ty_params.each |tp| { @@ -444,13 +444,13 @@ impl ~[@ast::item]: to_source { } } -impl @ast::ty: to_source { +impl @ast::Ty: to_source { fn to_source(cx: ext_ctxt) -> ~str { ty_to_str(self, cx.parse_sess().interner) } } -impl ~[@ast::ty]: to_source { +impl ~[@ast::Ty]: to_source { fn to_source(cx: ext_ctxt) -> ~str { str::connect(self.map(|i| i.to_source(cx)), ~", ") } |
