Skip to content

Commit c8f0e6f

Browse files
author
Clément RENAULT
committed
Fix the documentation of Option::replace
1 parent af87a35 commit c8f0e6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/option.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ impl<T> Option<T> {
848848

849849
/// Replaces the actual value in the option by the value given in parameter,
850850
/// returning the old value if present,
851-
/// leaving a `Some` in its place without deinitializing either one.
851+
/// leaving a [`Some`] in its place without deinitializing either one.
852852
///
853853
/// [`Some`]: #variant.Some
854854
///

0 commit comments

Comments
 (0)