Update library/core/src/option.rs
Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
This commit is contained in:
parent
cc8b77a7cf
commit
39557799c7
@ -568,6 +568,8 @@ impl<T> Option<T> {
|
||||
|
||||
/// Inserts `value` into the option then returns a mutable reference to it.
|
||||
///
|
||||
/// If the option already contains a value, the old value is dropped.
|
||||
///
|
||||
/// # Example
|
||||
///
|
||||
/// ```
|
||||
|
Loading…
x
Reference in New Issue
Block a user