diff options
| author | John Hodge <tpg@mutabah.net> | 2015-07-25 15:02:21 +0800 |
|---|---|---|
| committer | John Hodge <tpg@mutabah.net> | 2015-07-25 15:02:21 +0800 |
| commit | e3e6bf89dfe815f6ca695ea9615a3e8504737648 (patch) | |
| tree | 12eae4edc058cdba71a4fcd7a1c81df4826c1e15 | |
| parent | d38e8a05b533956a3c8d976c9bb137c50f017113 (diff) | |
| download | rust-e3e6bf89dfe815f6ca695ea9615a3e8504737648.tar.gz rust-e3e6bf89dfe815f6ca695ea9615a3e8504737648.zip | |
Reference issue #27277 on Result::expect
| -rw-r--r-- | src/libcore/result.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/result.rs b/src/libcore/result.rs index d87c1020dcc..2b33b1f83d2 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -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, |
