Skip to content

Commit 3b3cdb1

Browse files
committed
Rollup merge of rust-lang#26791 - tshepang:misc-ref-fixes, r=steveklabnik
One is for grammar, and the other is for clarity
2 parents a5f9162 + 73c1f24 commit 3b3cdb1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/doc/reference.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2972,7 +2972,7 @@ move values (depending on their type) from the environment into the lambda
29722972
expression's captured environment.
29732973

29742974
In this example, we define a function `ten_times` that takes a higher-order
2975-
function argument, and call it with a lambda expression as an argument:
2975+
function argument, and we then call it with a lambda expression as an argument:
29762976

29772977
```
29782978
fn ten_times<F>(f: F) where F: Fn(i32) {
@@ -3498,7 +3498,7 @@ x = bo(5,7);
34983498

34993499
#### Function types for specific items
35003500

3501-
Internally to the compiler, there are also function types that are specific to a particular
3501+
Internal to the compiler, there are also function types that are specific to a particular
35023502
function item. In the following snippet, for example, the internal types of the functions
35033503
`foo` and `bar` are different, despite the fact that they have the same signature:
35043504

0 commit comments

Comments
 (0)