Skip to content

Commit

Permalink
Auto merge of rust-lang#27278 - thepowersgang:result-expect-issue, r=…
Browse files Browse the repository at this point in the history
…alexcrichton
  • Loading branch information
bors committed Jul 27, 2015
2 parents d019a49 + e3e6bf8 commit eefd6b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ impl<T, E: fmt::Debug> Result<T, E> {
/// x.expect("Testing expect"); // panics with `Testing expect: emergency failure`
/// ```
#[inline]
#[unstable(feature = "result_expect", reason = "newly introduced")]
#[unstable(feature = "result_expect", reason = "newly introduced", issue = "27277")]
pub fn expect(self, msg: &str) -> T {
match self {
Ok(t) => t,
Expand Down

0 comments on commit eefd6b2

Please sign in to comment.