Skip to content

Commit e3e6bf8

Browse files
committed
Reference issue rust-lang#27277 on Result::expect
1 parent d38e8a0 commit e3e6bf8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -744,7 +744,7 @@ impl<T, E: fmt::Debug> Result<T, E> {
744744
/// x.expect("Testing expect"); // panics with `Testing expect: emergency failure`
745745
/// ```
746746
#[inline]
747-
#[unstable(feature = "result_expect", reason = "newly introduced")]
747+
#[unstable(feature = "result_expect", reason = "newly introduced", issue = "27277")]
748748
pub fn expect(self, msg: &str) -> T {
749749
match self {
750750
Ok(t) => t,

0 commit comments

Comments
 (0)