diff options
| author | Josh Stone <jistone@redhat.com> | 2019-07-12 13:07:53 -0700 |
|---|---|---|
| committer | Josh Stone <jistone@redhat.com> | 2019-07-12 13:07:53 -0700 |
| commit | 74c8d984dbd73c070f9c9a5ac991cc271ff05164 (patch) | |
| tree | a311c818907a24df41a78eddc27d51bf15c7dfe6 | |
| parent | 955979ab287037f8c1972dfc53c54f0677db04c6 (diff) | |
| download | rust-74c8d984dbd73c070f9c9a5ac991cc271ff05164.tar.gz rust-74c8d984dbd73c070f9c9a5ac991cc271ff05164.zip | |
Add tracking issue 62633
| -rw-r--r-- | src/libcore/option.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index 237994a83cf..f5581ecbba3 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -1008,7 +1008,7 @@ impl<T: fmt::Debug> Option<T> { /// } /// ``` #[inline] - #[unstable(feature = "option_expect_none", reason = "newly added", issue = "0")] + #[unstable(feature = "option_expect_none", reason = "newly added", issue = "62633")] pub fn expect_none(self, msg: &str) { if let Some(val) = self { expect_none_failed(msg, &val); @@ -1050,7 +1050,7 @@ impl<T: fmt::Debug> Option<T> { /// } /// ``` #[inline] - #[unstable(feature = "option_unwrap_none", reason = "newly added", issue = "0")] + #[unstable(feature = "option_unwrap_none", reason = "newly added", issue = "62633")] pub fn unwrap_none(self) { if let Some(val) = self { expect_none_failed("called `Option::unwrap_none()` on a `Some` value", &val); |
