We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0eb4df9 commit 083b46dCopy full SHA for 083b46d
src/doc/guide.md
@@ -3993,7 +3993,7 @@ Let's make a closure:
3993
```{rust}
3994
let add_one = |x| { 1i + x };
3995
3996
-println!("The 5 plus 1 is {}.", add_one(5i));
+println!("The sum of 5 plus 1 is {}.", add_one(5i));
3997
```
3998
3999
We create a closure using the `|...| { ... }` syntax, and then we create a
@@ -4088,7 +4088,7 @@ fn main() {
4088
}
4089
4090
4091
-Let's break example down, starting with `main`:
+Let's break the example down, starting with `main`:
4092
4093
4094
let square = |x: int| { x * x };
0 commit comments