File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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";
You can’t perform that action at this time.
0 commit comments