We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f445a82 commit ef1688dCopy full SHA for ef1688d
src/libcore/option.rs
@@ -1411,6 +1411,7 @@ impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T> {
1411
/// Some(t) => *t = String::from("Hello, Rustaceans!"),
1412
/// None => (),
1413
/// }
1414
+ ///
1415
/// assert_eq!(s, Some(String::from("Hello, Rustaceans!")));
1416
/// ```
1417
fn from(o: &'a mut Option<T>) -> Option<&'a mut T> {
0 commit comments