Update library/core/src/option.rs
Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
parent
39557799c7
commit
415a8e526d
@ -562,10 +562,6 @@ impl<T> Option<T> {
|
||||
}
|
||||
}
|
||||
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
// Setting a new value
|
||||
/////////////////////////////////////////////////////////////////////////
|
||||
|
||||
/// Inserts `value` into the option then returns a mutable reference to it.
|
||||
///
|
||||
/// If the option already contains a value, the old value is dropped.
|
||||
|
Loading…
Reference in New Issue
Block a user