Skip to content

Commit 6720e01

Browse files
Add tracking issue number to Result::unwrap_or_default unstable annotation.
1 parent ac968c4 commit 6720e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/result.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@ impl<T: Default, E> Result<T, E> {
821821
/// [`FromStr`]: ../../std/str/trait.FromStr.html
822822
/// ```
823823
#[inline]
824-
#[unstable(feature = "result_unwrap_or_default", issue = "0")]
824+
#[unstable(feature = "result_unwrap_or_default", issue = "37516")]
825825
pub fn unwrap_or_default(self) -> T {
826826
match self {
827827
Ok(x) => x,

0 commit comments

Comments
 (0)