diff options
| author | bors <bors@rust-lang.org> | 2015-07-27 13:24:34 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2015-07-27 13:24:34 +0000 |
| commit | eefd6b2c12c8257c85f2121d7f5a3694b192e755 (patch) | |
| tree | 7e5d895a91bd5823a85c612b7fd2245d9ffe034c | |
| parent | d019a49ac86322703e1daad0ebca393856185b32 (diff) | |
| parent | e3e6bf89dfe815f6ca695ea9615a3e8504737648 (diff) | |
| download | rust-eefd6b2c12c8257c85f2121d7f5a3694b192e755.tar.gz rust-eefd6b2c12c8257c85f2121d7f5a3694b192e755.zip | |
Auto merge of #27278 - thepowersgang:result-expect-issue, r=alexcrichton
| -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, |
