Fix the documentation of Option::replace
This commit is contained in:
parent
af87a3594a
commit
c8f0e6f210
1 changed files with 1 additions and 1 deletions
|
|
@ -848,7 +848,7 @@ impl<T> Option<T> {
|
|||
|
||||
/// Replaces the actual value in the option by the value given in parameter,
|
||||
/// returning the old value if present,
|
||||
/// leaving a `Some` in its place without deinitializing either one.
|
||||
/// leaving a [`Some`] in its place without deinitializing either one.
|
||||
///
|
||||
/// [`Some`]: #variant.Some
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue