diff options
| author | Clément RENAULT <crenault@vente-privee.com> | 2018-07-09 14:52:32 +0200 |
|---|---|---|
| committer | Clément RENAULT <crenault@vente-privee.com> | 2018-07-09 14:52:32 +0200 |
| commit | c8f0e6f210caccdaea7dc59fd970c81018ddfb00 (patch) | |
| tree | 59ddf035c6501185232832e83708fd17eecd7169 /src | |
| parent | af87a3594a9f852de0eb7fec7a2f2e7c5fdb4fe8 (diff) | |
| download | rust-c8f0e6f210caccdaea7dc59fd970c81018ddfb00.tar.gz rust-c8f0e6f210caccdaea7dc59fd970c81018ddfb00.zip | |
Fix the documentation of `Option::replace`
Diffstat (limited to 'src')
| -rw-r--r-- | src/libcore/option.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/option.rs b/src/libcore/option.rs index db0a807d152..f3e823670aa 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -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 /// |
