diff options
| author | Faris Sufyan <47665123+Dolpheyn@users.noreply.github.com> | 2020-05-10 18:06:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-10 18:06:30 +0800 |
| commit | d80ac6416d1a6b38756e18c5b5ea421bbd11dfba (patch) | |
| tree | a7d89f9fd126fe030dc507bf8661c4fb79742989 /src/libcore | |
| parent | 2badd41d043c9ff549855ad832e7bcd2ad44970d (diff) | |
| download | rust-d80ac6416d1a6b38756e18c5b5ea421bbd11dfba.tar.gz rust-d80ac6416d1a6b38756e18c5b5ea421bbd11dfba.zip | |
Fix link to `map` documentation in example
Co-authored-by: Timo <timorcb@gmail.com>
Diffstat (limited to 'src/libcore')
| -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 4647ad01006..4df9eaa4815 100644 --- a/src/libcore/option.rs +++ b/src/libcore/option.rs @@ -1380,7 +1380,7 @@ impl<'a, T> From<&'a Option<T>> for Option<&'a T> { /// so this technique uses `as_ref` to first take an `Option` to a reference /// to the value inside the original. /// - /// [`map`]: enum.Option.html#method.map + /// [`map`]: ../../std/option/enum.Option.html#method.map /// [`String`]: ../../std/string/struct.String.html /// [`usize`]: ../../std/primitive.usize.html /// |
