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.
2 parents 9cb7b3f + 89ee223 commit 9717318Copy full SHA for 9717318
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