Skip to content

Commit

Permalink
Add tracking issue number to Result::unwrap_or_default unstable annot…
Browse files Browse the repository at this point in the history
…ation.
  • Loading branch information
Mark-Simulacrum committed Nov 1, 2016
1 parent ac968c4 commit 6720e01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 6720e01

Please sign in to comment.