From 89ee223c9ce99c8067ce3b3faca16dc070ec831b Mon Sep 17 00:00:00 2001 From: Tshepang Lekhonkhobe Date: Sun, 31 May 2015 10:49:22 +0200 Subject: [PATCH] doc: fix displayed message --- src/libcore/option.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 8da28094be3..866d509fcbd 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")]