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
1 changed files with 2 additions and 0 deletions
|
@ -568,6 +568,8 @@ impl<T> Option<T> {
|
||||||
|
|
||||||
/// 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.
|
||||||
|
///
|
||||||
/// # Example
|
/// # Example
|
||||||
///
|
///
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue