Update library/core/src/option.rs

Co-authored-by: Ivan Tham <pickfire@riseup.net>
This commit is contained in:
Canop 2020-10-23 11:09:15 +02:00
parent 39557799c7
commit 415a8e526d

View File

@ -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.