]> git.lizzy.rs Git - rust.git/commitdiff
Second attempt to fix #23713 based on follow-up comments in #23791.
authorJulian Viereck <julian.viereck@gmail.com>
Mon, 30 Mar 2015 16:52:36 +0000 (18:52 +0200)
committerJulian Viereck <julian.viereck@gmail.com>
Mon, 30 Mar 2015 19:00:09 +0000 (21:00 +0200)
src/libcore/option.rs

index cd82936b0b3ee414b1041794b9caee6692a16648..c5102ede29fcf82f0ab37905e444f973d492ba98 100644 (file)
@@ -333,7 +333,7 @@ pub fn expect(self, msg: &str) -> T {
         }
     }
 
-    /// Moves the value `v` out of the `Option<T>` if the content of the `Option<T>` is a `Some(v)`.
+    /// Moves the value `v` out of the `Option<T>` if it is `Some(v)`.
     ///
     /// # Panics
     ///