diff options
| author | Devin R <devin.ragotzy@gmail.com> | 2019-12-01 19:47:54 -0500 |
|---|---|---|
| committer | Devin R <devin.ragotzy@gmail.com> | 2019-12-01 19:47:54 -0500 |
| commit | e638f7c1abdfff7d5d3370c9851b38dc756aef2e (patch) | |
| tree | 204b5627fe9b8f682a185997f5780da27c372af0 /src/libstd | |
| parent | 7c3befc7f92da9d714b75bb2f75433118cc60210 (diff) | |
| download | rust-e638f7c1abdfff7d5d3370c9851b38dc756aef2e.tar.gz rust-e638f7c1abdfff7d5d3370c9851b38dc756aef2e.zip | |
add grammer fixes
Diffstat (limited to 'src/libstd')
| -rw-r--r-- | src/libstd/keyword_docs.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/keyword_docs.rs b/src/libstd/keyword_docs.rs index c4c20630265..5b7bef930d1 100644 --- a/src/libstd/keyword_docs.rs +++ b/src/libstd/keyword_docs.rs @@ -814,7 +814,7 @@ mod loop_keyword { } /// /// `match` can be used to run code conditionally. Every pattern must /// be handled exhaustively either explicitly or by using wildcards like -/// `_` in the `match`. Since `match` is an expression values can also be +/// `_` in the `match`. Since `match` is an expression, values can also be /// returned. /// /// ```rust @@ -874,7 +874,7 @@ mod mod_keyword { } /// /// `move` converts any variables captured by reference or mutable reference /// to owned by value variables. The three [`Fn` trait]'s mirror the ways to capture -/// variables, when `move` is used the closures is represented by the `FnOnce` trait. +/// variables, when `move` is used, the closures is represented by the `FnOnce` trait. /// /// ```rust /// let capture = "hello"; |
