diff options
| author | Mark-Simulacrum <mark.simulacrum@gmail.com> | 2016-11-01 09:47:09 -0600 |
|---|---|---|
| committer | Mark-Simulacrum <mark.simulacrum@gmail.com> | 2016-11-01 09:47:09 -0600 |
| commit | 6720e0191cc7a735b9991a955c7acf26cbab3c49 (patch) | |
| tree | faf4a9117aa330516205b50cc1ca0a3b763a3144 | |
| parent | ac968c466451cb9aafd9e8598ddb396ed0e6fe31 (diff) | |
| download | rust-6720e0191cc7a735b9991a955c7acf26cbab3c49.tar.gz rust-6720e0191cc7a735b9991a955c7acf26cbab3c49.zip | |
Add tracking issue number to Result::unwrap_or_default unstable annotation.
| -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 3d34f620067..9ba5ff7c3a4 100644 --- a/src/libcore/result.rs +++ b/src/libcore/result.rs @@ -821,7 +821,7 @@ impl<T: Default, E> Result<T, E> { /// [`FromStr`]: ../../std/str/trait.FromStr.html /// ``` #[inline] - #[unstable(feature = "result_unwrap_or_default", issue = "0")] + #[unstable(feature = "result_unwrap_or_default", issue = "37516")] pub fn unwrap_or_default(self) -> T { match self { Ok(x) => x, |
