about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-06-01 02:18:49 +0000
committerbors <bors@rust-lang.org>2015-06-01 02:18:49 +0000
commit971731849d7bf88aff38c43ac164b28a8a4a8bcf (patch)
treeeef3934c6b044b2969430e20d42f9fad10d51a77
parent9cb7b3ffb6522a5fa4d3666b5859d4122c918e44 (diff)
parent89ee223c9ce99c8067ce3b3faca16dc070ec831b (diff)
downloadrust-971731849d7bf88aff38c43ac164b28a8a4a8bcf.tar.gz
rust-971731849d7bf88aff38c43ac164b28a8a4a8bcf.zip
Auto merge of #25923 - tshepang:patch-1, r=Gankro
-rw-r--r--src/libcore/option.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs
index 9e7c6fa0301..f7e8480e250 100644
--- a/src/libcore/option.rs
+++ b/src/libcore/option.rs
@@ -320,7 +320,7 @@ impl<T> Option<T> {
     ///
     /// ```{.should_panic}
     /// let x: Option<&str> = None;
-    /// x.expect("the world is ending"); // panics with `world is ending`
+    /// x.expect("the world is ending"); // panics with `the world is ending`
     /// ```
     #[inline]
     #[stable(feature = "rust1", since = "1.0.0")]