diff options
| author | Brian Anderson <banderson@mozilla.com> | 2012-08-15 15:08:59 -0700 |
|---|---|---|
| committer | Brian Anderson <banderson@mozilla.com> | 2012-08-15 15:09:39 -0700 |
| commit | fd0f616ceb17ac283717322674e35b7589a27232 (patch) | |
| tree | e17f6fb3b9346d404bf84eb881a4422b03f61672 /src/libsyntax/ext/pipes | |
| parent | c0140f5c344a206b4147d03d306bd6c83468d30b (diff) | |
pipes: Rename the pipec-generated buffer to __Buffer
Conforms to camel case convention and hides it away so it doesn't conflict with user code
Diffstat (limited to 'src/libsyntax/ext/pipes')
| -rw-r--r-- | src/libsyntax/ext/pipes/pipec.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsyntax/ext/pipes/pipec.rs b/src/libsyntax/ext/pipes/pipec.rs index ef7562e0ffe..5c5147741db 100644 --- a/src/libsyntax/ext/pipes/pipec.rs +++ b/src/libsyntax/ext/pipes/pipec.rs @@ -361,7 +361,7 @@ impl protocol: gen_init { } } - cx.ty_path_ast_builder(path(@~"buffer", self.span) + cx.ty_path_ast_builder(path(@~"__Buffer", self.span) .add_tys(cx.ty_vars(params))) } @@ -383,7 +383,7 @@ impl protocol: gen_init { }; cx.item_ty_poly( - @~"buffer", + @~"__Buffer", cx.ty_rec(fields), params) } |
