Skip to content

Commit ef1688d

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

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
@@ -1411,6 +1411,7 @@ impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T> {
14111411
/// Some(t) => *t = String::from("Hello, Rustaceans!"),
14121412
/// None => (),
14131413
/// }
1414+
///
14141415
/// assert_eq!(s, Some(String::from("Hello, Rustaceans!")));
14151416
/// ```
14161417
fn from(o: &'a mut Option<T>) -> Option<&'a mut T> {

0 commit comments

Comments
 (0)