Skip to content

Commit

Permalink
Fix the documentation of Option::replace
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément RENAULT committed Jul 9, 2018
1 parent af87a35 commit c8f0e6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/option.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
///
Expand Down

0 comments on commit c8f0e6f

Please sign in to comment.