Fix the documentation of Option::replace

This commit is contained in:
Clément RENAULT 2018-07-09 14:52:32 +02:00
parent af87a3594a
commit c8f0e6f210
No known key found for this signature in database
GPG Key ID: 9F36890FFB823F85

View File

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