Update library/core/src/option.rs
Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
parent
39557799c7
commit
415a8e526d
1 changed files with 0 additions and 4 deletions
|
@ -562,10 +562,6 @@ impl<T> Option<T> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////
|
|
||||||
// Setting a new value
|
|
||||||
/////////////////////////////////////////////////////////////////////////
|
|
||||||
|
|
||||||
/// Inserts `value` into the option then returns a mutable reference to it.
|
/// Inserts `value` into the option then returns a mutable reference to it.
|
||||||
///
|
///
|
||||||
/// If the option already contains a value, the old value is dropped.
|
/// If the option already contains a value, the old value is dropped.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue