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:
parent
c0140f5c34
commit
fd0f616ceb
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue