diff options
| author | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-05-31 10:49:22 +0200 |
|---|---|---|
| committer | Tshepang Lekhonkhobe <tshepang@gmail.com> | 2015-05-31 10:49:22 +0200 |
| commit | 89ee223c9ce99c8067ce3b3faca16dc070ec831b (patch) | |
| tree | b2d52f2c101df36fa5e1003e451841266e724aef /src/libcore/option.rs | |
| parent | 78c4d53871b3d75b4de5f96cb1f9cdc11648ccc6 (diff) | |
| download | rust-89ee223c9ce99c8067ce3b3faca16dc070ec831b.tar.gz rust-89ee223c9ce99c8067ce3b3faca16dc070ec831b.zip | |
doc: fix displayed message
Diffstat (limited to 'src/libcore/option.rs')
| -rw-r--r-- | src/libcore/option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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<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")] |
