Skip to content

Commit

Permalink
add grammer fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
DevinR528 committed Dec 2, 2019
1 parent 7c3befc commit e638f7c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/keyword_docs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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";
Expand Down

0 comments on commit e638f7c

Please sign in to comment.