Skip to content

Commit 73c1f24

Browse files
committed
reference: tiny fixes
One is for grammar, and the other is for clarity
1 parent 912ab64 commit 73c1f24

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
@@ -2966,7 +2966,7 @@ move values (depending on their type) from the environment into the lambda
29662966
expression's captured environment.
29672967

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

29712971
```
29722972
fn ten_times<F>(f: F) where F: Fn(i32) {
@@ -3489,7 +3489,7 @@ x = bo(5,7);
34893489

34903490
#### Function types for specific items
34913491

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

0 commit comments

Comments
 (0)