Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 644bb24

Browse files
Update src/libcore/option.rs
Co-authored-by: Steve Klabnik <steve@steveklabnik.com>
1 parent a9e7d57 commit 644bb24

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,7 @@ impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T> {
14051405
/// ```
14061406
/// let mut s = Some(String::from("Hello"));
14071407
/// let o: Option<&mut String> = Option::from(&mut s);
1408+
///
14081409
/// match o {
14091410
/// Some(t) => *t = String::from("Hello, Rustaceans!"),
14101411
/// None => (),

0 commit comments

Comments
 (0)