Skip to content

Commit 805aecc

Browse files
author
Jonathan Turner
authored
Rollup merge of #37517 - Mark-Simulacrum:add-unwrap-default-tracking-issue, r=alexcrichton
Add tracking issue number to Result::unwrap_or_default unstable annotation. Implemented in #37299. Tracking issue: #37516.
2 parents 27f41b7 + 6720e01 commit 805aecc

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)