Skip to content

Commit e638f7c

Browse files
committed
add grammer fixes
1 parent 7c3befc commit e638f7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/keyword_docs.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -814,7 +814,7 @@ mod loop_keyword { }
814814
///
815815
/// `match` can be used to run code conditionally. Every pattern must
816816
/// be handled exhaustively either explicitly or by using wildcards like
817-
/// `_` in the `match`. Since `match` is an expression values can also be
817+
/// `_` in the `match`. Since `match` is an expression, values can also be
818818
/// returned.
819819
///
820820
/// ```rust
@@ -874,7 +874,7 @@ mod mod_keyword { }
874874
///
875875
/// `move` converts any variables captured by reference or mutable reference
876876
/// to owned by value variables. The three [`Fn` trait]'s mirror the ways to capture
877-
/// variables, when `move` is used the closures is represented by the `FnOnce` trait.
877+
/// variables, when `move` is used, the closures is represented by the `FnOnce` trait.
878878
///
879879
/// ```rust
880880
/// let capture = "hello";

0 commit comments

Comments
 (0)