Skip to content

Commit 5072d08

Browse files
committed
---
yaml --- r: 115427 b: refs/heads/try c: af0dd16 h: refs/heads/master i: 115425: e471d2c 115423: eba69c9 v: v3
1 parent ac9f659 commit 5072d08

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
refs/heads/master: bee4e6adac17f87b1cdc26ab69f8c0f5d82575a3
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: ec0258a381b88b5574e3f8ce72ae553ac3a574b7
5-
refs/heads/try: f7d2d5876c4d26dd5941c723aad2fc53c6fcc9aa
5+
refs/heads/try: af0dd16b1bf05f0ef671f6c6eea8fa1627015d88
66
refs/tags/release-0.1: 1f5c5126e96c79d22cb7862f75304136e204f105
77
refs/heads/ndm: f3868061cd7988080c30d6d5bf352a5a5fe2460b
88
refs/heads/try2: 147ecfdd8221e4a4d4e090486829a06da1e0ca3c

branches/try/src/doc/tutorial.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1736,7 +1736,7 @@ let closure = || -> () { println!("{}", x) }; // can capture enclosing scope
17361736
17371737
// `fun_arg` is an invalid definition
17381738
fn fun_arg (arg: int) -> () { println!("{}", arg + x) }; // cannot capture enclosing scope
1739-
let closure_arg = |arg: int| -> () { println!("{}", arg + x) }; // Can capture enclosing scope
1739+
let closure_arg = |arg: int| -> () { println!("{}", arg + x) }; // can capture enclosing scope
17401740
// ^
17411741
// Requires a type because the implementation needs to know which `+` to use.
17421742
// In the future, the implementation may not need the help.

0 commit comments

Comments
 (0)