1
Fork 0

add tracking issue number to option_insert feature gate

This commit is contained in:
Canop 2020-10-23 11:44:58 +02:00
parent 415a8e526d
commit 216d0fe364

View file

@ -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);