about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJed Davis <jld@panix.com>2013-01-11 23:42:07 -0800
committerTim Chevalier <chevalier@alum.wellesley.edu>2013-01-13 14:37:59 -0800
commit33414d81d10a8b35f420e4fbecbb7ee531190a2a (patch)
treeb75b6353a590d4a221961f69691779af22fcfe04
parentc75d45d7e3bf3a6f45029baf97e0448bbcf07608 (diff)
downloadrust-33414d81d10a8b35f420e4fbecbb7ee531190a2a.tar.gz
rust-33414d81d10a8b35f420e4fbecbb7ee531190a2a.zip
Fix long lines in for loop trans change
-rw-r--r--src/librustc/middle/trans/closure.rs16
1 files changed, 9 insertions, 7 deletions
diff --git a/src/librustc/middle/trans/closure.rs b/src/librustc/middle/trans/closure.rs
index eae73729b58..35917e4911c 100644
--- a/src/librustc/middle/trans/closure.rs
+++ b/src/librustc/middle/trans/closure.rs
@@ -394,15 +394,17 @@ fn trans_expr_fn(bcx: block,
      * - `proto`
      * - `decl`
      * - `body`
-     * - `outer_id`: The id of the closure expression with the correct type.
-     *   This is usually the same as as `user_id`, but in the case of a `for` loop,
-     *   the `outer_id` will have the return type of boolean, and the `user_id` will
-     *   have the return type of `nil`.
-     * - `user_id`: The id of the closure as the user expressed it.  Generally
-         the same as `outer_id`
+     * - `outer_id`: The id of the closure expression with the correct
+     *   type.  This is usually the same as as `user_id`, but in the
+     *   case of a `for` loop, the `outer_id` will have the return
+     *   type of boolean, and the `user_id` will have the return type
+     *   of `nil`.
+     * - `user_id`: The id of the closure as the user expressed it.
+         Generally the same as `outer_id`
      * - `cap_clause`: information about captured variables, if any.
      * - `is_loop_body`: `Some()` if this is part of a `for` loop.
-     * - `dest`: where to write the closure value, which must be a (fn ptr, env) pair
+     * - `dest`: where to write the closure value, which must be a
+         (fn ptr, env) pair
      */
 
     let _icx = bcx.insn_ctxt("closure::trans_expr_fn");