about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/option.rs2
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
     ///