File tree Expand file tree Collapse file tree 2 files changed +10
-8
lines changed
branches/snap-stage3/src/librustc/middle/trans Expand file tree Collapse file tree 2 files changed +10
-8
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
refs/heads/master: cd6f24f9d14ac90d167386a56e7a6ac1f0318195
3
3
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
4
- refs/heads/snap-stage3: c75d45d7e3bf3a6f45029baf97e0448bbcf07608
4
+ refs/heads/snap-stage3: 33414d81d10a8b35f420e4fbecbb7ee531190a2a
5
5
refs/heads/try: d324a424d8f84b1eb049b12cf34182bda91b0024
6
6
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
7
7
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
Original file line number Diff line number Diff line change @@ -394,15 +394,17 @@ fn trans_expr_fn(bcx: block,
394
394
* - `proto`
395
395
* - `decl`
396
396
* - `body`
397
- * - `outer_id`: The id of the closure expression with the correct type.
398
- * This is usually the same as as `user_id`, but in the case of a `for` loop,
399
- * the `outer_id` will have the return type of boolean, and the `user_id` will
400
- * have the return type of `nil`.
401
- * - `user_id`: The id of the closure as the user expressed it. Generally
402
- the same as `outer_id`
397
+ * - `outer_id`: The id of the closure expression with the correct
398
+ * type. This is usually the same as as `user_id`, but in the
399
+ * case of a `for` loop, the `outer_id` will have the return
400
+ * type of boolean, and the `user_id` will have the return type
401
+ * of `nil`.
402
+ * - `user_id`: The id of the closure as the user expressed it.
403
+ Generally the same as `outer_id`
403
404
* - `cap_clause`: information about captured variables, if any.
404
405
* - `is_loop_body`: `Some()` if this is part of a `for` loop.
405
- * - `dest`: where to write the closure value, which must be a (fn ptr, env) pair
406
+ * - `dest`: where to write the closure value, which must be a
407
+ (fn ptr, env) pair
406
408
*/
407
409
408
410
let _icx = bcx. insn_ctxt ( "closure::trans_expr_fn" ) ;
You can’t perform that action at this time.
0 commit comments