Skip to content

Commit 9717318

Browse files
committed
Auto merge of #25923 - tshepang:patch-1, r=Gankro
2 parents 9cb7b3f + 89ee223 commit 9717318

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/option.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ impl<T> Option<T> {
320320
///
321321
/// ```{.should_panic}
322322
/// let x: Option<&str> = None;
323-
/// x.expect("the world is ending"); // panics with `world is ending`
323+
/// x.expect("the world is ending"); // panics with `the world is ending`
324324
/// ```
325325
#[inline]
326326
#[stable(feature = "rust1", since = "1.0.0")]

0 commit comments

Comments
 (0)