]> git.lizzy.rs Git - rust.git/commitdiff
rustc: Fix long lines
authorPatrick Walton <pcwalton@mimiga.net>
Thu, 19 Jan 2012 22:34:23 +0000 (14:34 -0800)
committerPatrick Walton <pcwalton@mimiga.net>
Thu, 19 Jan 2012 22:34:23 +0000 (14:34 -0800)
src/comp/middle/trans.rs
src/comp/middle/trans_alt.rs
src/comp/syntax/ast.rs

index 8b85b78fde10ca1510aa023410819d19a9d022ba..9f75d0d1c77f13dbfd7c260a34810d5b97afcbe9 100644 (file)
@@ -738,8 +738,8 @@ fn compute_off(bcx: @block_ctxt,
 
 // Replacement for the LLVM 'GEP' instruction when field indexing into a enum.
 // This function uses GEP_tup_like() above and automatically performs casts as
-// appropriate. @llblobptr is the data part of a enum value; its actual type is
-// meaningless, as it will be cast away.
+// appropriate. @llblobptr is the data part of a enum value; its actual type
+// is meaningless, as it will be cast away.
 fn GEP_tag(cx: @block_ctxt, llblobptr: ValueRef, tag_id: ast::def_id,
            variant_id: ast::def_id, ty_substs: [ty::t],
            ix: uint) : valid_variant_index(ix, cx, tag_id, variant_id) ->
index dbe46f6e4568a85cd8ffc4e8adfa0cc2e7d7481c..f4fb7a1470e9a603eb548ce79f71c91df313aafd 100644 (file)
@@ -16,7 +16,8 @@
 
 import trans_common::*;
 
-// An option identifying a branch (either a literal, a enum variant or a range)
+// An option identifying a branch (either a literal, a enum variant or a
+// range)
 enum opt {
     lit(@ast::expr);
     var(/* disr val */int, /* variant dids */{tg: def_id, var: def_id});
index a8bbf75aaa28409c55453d74ee416305366ddd3c..a01ce73023625e1c82c9ddfd72597a10726c80f1 100644 (file)
@@ -68,8 +68,8 @@ enum crate_directive_ {
 
     // NB: cdir_view_item is *not* processed by the rest of the compiler; the
     // attached view_items are sunk into the crate's module during parsing,
-    // and processed (resolved, imported, etc.) there. This enum-variant exists
-    // only to preserve the view items in order in case we decide to
+    // and processed (resolved, imported, etc.) there. This enum-variant
+    // exists only to preserve the view items in order in case we decide to
     // pretty-print crates in the future.
     cdir_view_item(@view_item);