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
This commit is contained in:
Brian Anderson 2012-08-15 15:08:59 -07:00
parent c0140f5c34
commit fd0f616ceb

View file

@ -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)
}