Skip to content

Commit

Permalink
add tracking issue number to option_insert feature gate
Browse files Browse the repository at this point in the history
  • Loading branch information
Canop committed Oct 23, 2020
1 parent 415a8e5 commit 216d0fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -581,7 +581,7 @@ impl<T> Option<T> {
/// assert_eq!(opt.unwrap(), 3);
/// ```
#[inline]
#[unstable(feature = "option_insert", reason = "newly added", issue = "none")]
#[unstable(feature = "option_insert", reason = "newly added", issue = "78271")]
pub fn insert(&mut self, value: T) -> &mut T {
*self = Some(value);

Expand Down

0 comments on commit 216d0fe

Please sign in to comment.