Reference issue #27277 on Result::expect

This commit is contained in:
John Hodge 2015-07-25 15:02:21 +08:00
parent d38e8a05b5
commit e3e6bf89df
1 changed files with 1 additions and 1 deletions

View File

@ -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,