We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Option::replace
1 parent af87a35 commit c8f0e6fCopy full SHA for c8f0e6f
src/libcore/option.rs
@@ -848,7 +848,7 @@ impl<T> Option<T> {
848
849
/// Replaces the actual value in the option by the value given in parameter,
850
/// returning the old value if present,
851
- /// leaving a `Some` in its place without deinitializing either one.
+ /// leaving a [`Some`] in its place without deinitializing either one.
852
///
853
/// [`Some`]: #variant.Some
854
0 commit comments