File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -814,7 +814,7 @@ mod loop_keyword { }
814
814
///
815
815
/// `match` can be used to run code conditionally. Every pattern must
816
816
/// 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
818
818
/// returned.
819
819
///
820
820
/// ```rust
@@ -874,7 +874,7 @@ mod mod_keyword { }
874
874
///
875
875
/// `move` converts any variables captured by reference or mutable reference
876
876
/// 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.
878
878
///
879
879
/// ```rust
880
880
/// let capture = "hello";
You can’t perform that action at this time.
0 commit comments