We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 78c4d53 commit 89ee223Copy full SHA for 89ee223
src/libcore/option.rs
@@ -320,7 +320,7 @@ impl<T> Option<T> {
320
///
321
/// ```{.should_panic}
322
/// let x: Option<&str> = None;
323
- /// x.expect("the world is ending"); // panics with `world is ending`
+ /// x.expect("the world is ending"); // panics with `the world is ending`
324
/// ```
325
#[inline]
326
#[stable(feature = "rust1", since = "1.0.0")]
0 commit comments