diff options
| author | Steve Klabnik <steve@steveklabnik.com> | 2015-07-05 07:35:15 -0400 |
|---|---|---|
| committer | Steve Klabnik <steve@steveklabnik.com> | 2015-07-05 07:35:15 -0400 |
| commit | 3b3cdb124af144cc078c6889bb2734b885aa4d35 (patch) | |
| tree | 2020d5bcf24cebdbea4cef563366cad891a3d346 /src/doc/reference.md | |
| parent | a5f9162909c5e5b78c0381f4a294dad971185861 (diff) | |
| parent | 73c1f242e311076067bcacad4e41899c1bd020af (diff) | |
| download | rust-3b3cdb124af144cc078c6889bb2734b885aa4d35.tar.gz rust-3b3cdb124af144cc078c6889bb2734b885aa4d35.zip | |
Rollup merge of #26791 - tshepang:misc-ref-fixes, r=steveklabnik
One is for grammar, and the other is for clarity
Diffstat (limited to 'src/doc/reference.md')
| -rw-r--r-- | src/doc/reference.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/reference.md b/src/doc/reference.md index 4bb605e9e65..05f5c755081 100644 --- a/src/doc/reference.md +++ b/src/doc/reference.md @@ -2972,7 +2972,7 @@ move values (depending on their type) from the environment into the lambda expression's captured environment. In this example, we define a function `ten_times` that takes a higher-order -function argument, and call it with a lambda expression as an argument: +function argument, and we then call it with a lambda expression as an argument: ``` fn ten_times<F>(f: F) where F: Fn(i32) { @@ -3498,7 +3498,7 @@ x = bo(5,7); #### Function types for specific items -Internally to the compiler, there are also function types that are specific to a particular +Internal to the compiler, there are also function types that are specific to a particular function item. In the following snippet, for example, the internal types of the functions `foo` and `bar` are different, despite the fact that they have the same signature: |
