Update library/core/src/option.rs

Co-authored-by: Mara Bos <m-ou.se@m-ou.se>
This commit is contained in:
Canop 2020-10-23 11:08:09 +02:00
parent cc8b77a7cf
commit 39557799c7

View file

@ -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
///
/// ```