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 Option { /// /// ```{.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")]