Skip to content

Commit eefd6b2

Browse files
committed
Auto merge of #27278 - thepowersgang:result-expect-issue, r=alexcrichton
2 parents d019a49 + e3e6bf8 commit eefd6b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

Lines changed: 1 addition & 1 deletion
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)