Skip to content

Commit 79f052b

Browse files
committed
Fix nits
1 parent b36479f commit 79f052b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/libstd/keyword_docs.rs

+3-3
Original file line numberDiff line numberDiff line change
@@ -1005,11 +1005,11 @@ mod pub_keyword {}
10051005
/// Some(n) => println!("Hello, {}", n),
10061006
/// _ => println!("Hello, world"),
10071007
/// }
1008-
/// // ... and now unavailable.
1008+
/// // ... and is now unavailable.
10091009
/// println!("Hello again, {}", maybe_name.unwrap_or("world".into()));
10101010
/// ```
10111011
///
1012-
/// Using the `ref` keyword, the value is only borrowed, not moved, making
1012+
/// Using the `ref` keyword, the value is only borrowed, not moved, making it
10131013
/// available for use after the [`match`] statement:
10141014
///
10151015
/// ```
@@ -1019,7 +1019,7 @@ mod pub_keyword {}
10191019
/// Some(ref n) => println!("Hello, {}", n),
10201020
/// _ => println!("Hello, world"),
10211021
/// }
1022-
/// // ... and it's available here !
1022+
/// // ... so it's available here!
10231023
/// println!("Hello again, {}", maybe_name.unwrap_or("world".into()));
10241024
/// ```
10251025
///

0 commit comments

Comments
 (0)