Skip to content

Commit baeac2f

Browse files
committed
libsyntax: Long lines.
1 parent de57bac commit baeac2f

File tree

2 files changed

+12
-6
lines changed

2 files changed

+12
-6
lines changed

src/libsyntax/ext/pipes/ast_builder.rs

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,12 @@ pub trait ext_ctxt_ast_builder {
9393
ty_params: ~[ast::ty_param]) -> @ast::item;
9494
fn item_struct(&self, name: ident, span: span,
9595
struct_def: ast::struct_def) -> @ast::item;
96-
fn struct_expr(&self, path: @ast::path, fields: ~[ast::field]) -> @ast::expr;
97-
fn variant(&self, name: ident, span: span, +tys: ~[@ast::Ty]) -> ast::variant;
98-
fn item_mod(&self, name: ident, span: span, +items: ~[@ast::item]) -> @ast::item;
96+
fn struct_expr(&self, path: @ast::path,
97+
fields: ~[ast::field]) -> @ast::expr;
98+
fn variant(&self, name: ident, span: span,
99+
+tys: ~[@ast::Ty]) -> ast::variant;
100+
fn item_mod(&self, name: ident, span: span,
101+
+items: ~[@ast::item]) -> @ast::item;
99102
fn ty_path_ast_builder(&self, path: @ast::path) -> @ast::Ty;
100103
fn item_ty_poly(&self, name: ident,
101104
span: span,
@@ -282,7 +285,8 @@ pub impl ext_ctxt_ast_builder for ext_ctxt {
282285
self.item(name, span, ast::item_struct(@struct_def, ty_params))
283286
}
284287

285-
fn struct_expr(&self, path: @ast::path, fields: ~[ast::field]) -> @ast::expr {
288+
fn struct_expr(&self, path: @ast::path,
289+
fields: ~[ast::field]) -> @ast::expr {
286290
@ast::expr {
287291
id: self.next_id(),
288292
callee_id: self.next_id(),

src/libsyntax/ext/pipes/pipec.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ pub trait gen_send {
3333

3434
pub trait to_type_decls {
3535
fn to_type_decls(&self, cx: ext_ctxt) -> ~[@ast::item];
36-
fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item];
36+
fn to_endpoint_decls(&self, cx: ext_ctxt,
37+
dir: direction) -> ~[@ast::item];
3738
}
3839

3940
pub trait gen_init {
@@ -253,7 +254,8 @@ pub impl to_type_decls for state {
253254
]
254255
}
255256
256-
fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item] {
257+
fn to_endpoint_decls(&self, cx: ext_ctxt,
258+
dir: direction) -> ~[@ast::item] {
257259
debug!("pipec: to_endpoint_decls");
258260
let dir = match dir {
259261
send => (*self).dir,

0 commit comments

Comments
 (0)