about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Hodge <tpg@mutabah.net>2015-07-25 15:02:21 +0800
committerJohn Hodge <tpg@mutabah.net>2015-07-25 15:02:21 +0800
commite3e6bf89dfe815f6ca695ea9615a3e8504737648 (patch)
tree12eae4edc058cdba71a4fcd7a1c81df4826c1e15
parentd38e8a05b533956a3c8d976c9bb137c50f017113 (diff)
downloadrust-e3e6bf89dfe815f6ca695ea9615a3e8504737648.tar.gz
rust-e3e6bf89dfe815f6ca695ea9615a3e8504737648.zip
Reference issue #27277 on Result::expect
-rw-r--r--src/libcore/result.rs2
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,