Skip to content

Commit

Permalink
Reference issue rust-lang#27277 on Result::expect
Browse files Browse the repository at this point in the history
  • Loading branch information
thepowersgang committed Jul 25, 2015
1 parent d38e8a0 commit e3e6bf8
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 e3e6bf8

Please sign in to comment.