summary refs log tree commit diff
path: root/src/libsyntax/ext
diff options
context:
space:
mode:
authorLuqman Aden <laden@csclub.uwaterloo.ca>2013-02-17 05:24:57 -0500
committerLuqman Aden <laden@csclub.uwaterloo.ca>2013-02-17 05:25:26 -0500
commitbaeac2f9ac0e64eefe22779d28a421c5f5eadb58 (patch)
treef36b691caf4152732e7ac8f13b88843155cba221 /src/libsyntax/ext
parentde57bacf436499270e48db4820baa24f68f1542b (diff)
downloadrust-baeac2f9ac0e64eefe22779d28a421c5f5eadb58.tar.gz
rust-baeac2f9ac0e64eefe22779d28a421c5f5eadb58.zip
libsyntax: Long lines.
Diffstat (limited to 'src/libsyntax/ext')
-rw-r--r--src/libsyntax/ext/pipes/ast_builder.rs12
-rw-r--r--src/libsyntax/ext/pipes/pipec.rs6
2 files changed, 12 insertions, 6 deletions
diff --git a/src/libsyntax/ext/pipes/ast_builder.rs b/src/libsyntax/ext/pipes/ast_builder.rs
index 661a2dd6679..6638a47ebf8 100644
--- a/src/libsyntax/ext/pipes/ast_builder.rs
+++ b/src/libsyntax/ext/pipes/ast_builder.rs
@@ -93,9 +93,12 @@ pub trait ext_ctxt_ast_builder {
                         ty_params: ~[ast::ty_param]) -> @ast::item;
     fn item_struct(&self, name: ident, span: span,
                    struct_def: ast::struct_def) -> @ast::item;
-    fn struct_expr(&self, path: @ast::path, fields: ~[ast::field]) -> @ast::expr;
-    fn variant(&self, name: ident, span: span, +tys: ~[@ast::Ty]) -> ast::variant;
-    fn item_mod(&self, name: ident, span: span, +items: ~[@ast::item]) -> @ast::item;
+    fn struct_expr(&self, path: @ast::path,
+                   fields: ~[ast::field]) -> @ast::expr;
+    fn variant(&self, name: ident, span: span,
+               +tys: ~[@ast::Ty]) -> ast::variant;
+    fn item_mod(&self, name: ident, span: span,
+                +items: ~[@ast::item]) -> @ast::item;
     fn ty_path_ast_builder(&self, path: @ast::path) -> @ast::Ty;
     fn item_ty_poly(&self, name: ident,
                     span: span,
@@ -282,7 +285,8 @@ pub impl ext_ctxt_ast_builder for ext_ctxt {
         self.item(name, span, ast::item_struct(@struct_def, ty_params))
     }
 
-    fn struct_expr(&self, path: @ast::path, fields: ~[ast::field]) -> @ast::expr {
+    fn struct_expr(&self, path: @ast::path,
+                   fields: ~[ast::field]) -> @ast::expr {
         @ast::expr {
             id: self.next_id(),
             callee_id: self.next_id(),
diff --git a/src/libsyntax/ext/pipes/pipec.rs b/src/libsyntax/ext/pipes/pipec.rs
index 9a572c72627..77164803caa 100644
--- a/src/libsyntax/ext/pipes/pipec.rs
+++ b/src/libsyntax/ext/pipes/pipec.rs
@@ -33,7 +33,8 @@ pub trait gen_send {
 
 pub trait to_type_decls {
     fn to_type_decls(&self, cx: ext_ctxt) -> ~[@ast::item];
-    fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item];
+    fn to_endpoint_decls(&self, cx: ext_ctxt,
+                         dir: direction) -> ~[@ast::item];
 }
 
 pub trait gen_init {
@@ -253,7 +254,8 @@ pub impl to_type_decls for state {
         ]
     }
 
-    fn to_endpoint_decls(&self, cx: ext_ctxt, dir: direction) -> ~[@ast::item] {
+    fn to_endpoint_decls(&self, cx: ext_ctxt,
+                         dir: direction) -> ~[@ast::item] {
         debug!("pipec: to_endpoint_decls");
         let dir = match dir {
           send => (*self).dir,