]> git.lizzy.rs Git - rust.git/blobdiff - src/libcore/option.rs
Update src/libcore/option.rs
[rust.git] / src / libcore / option.rs
index 3e64177a4676cd9bd145eed5e7201ea3ef0bda25..848560bd795d11ee9388dc114e8344fc98c169df 100644 (file)
@@ -1405,6 +1405,7 @@ impl<'a, T> From<&'a mut Option<T>> for Option<&'a mut T> {
     /// ```
     /// let mut s = Some(String::from("Hello"));
     /// let o: Option<&mut String> = Option::from(&mut s);
+    ///
     /// match o {
     ///     Some(t) => *t = String::from("Hello, Rustaceans!"),
     ///     None => (),