add tracking issue number to option_insert feature gate
This commit is contained in:
parent
415a8e526d
commit
216d0fe364
1 changed files with 1 additions and 1 deletions
|
@ -581,7 +581,7 @@ impl<T> Option<T> {
|
||||||
/// assert_eq!(opt.unwrap(), 3);
|
/// assert_eq!(opt.unwrap(), 3);
|
||||||
/// ```
|
/// ```
|
||||||
#[inline]
|
#[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 {
|
pub fn insert(&mut self, value: T) -> &mut T {
|
||||||
*self = Some(value);
|
*self = Some(value);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue