Skip to content

Commit d80ac64

Browse files
Dolpheyntimotree3
andauthored
Fix link to map documentation in example
Co-authored-by: Timo <timorcb@gmail.com>
1 parent 2badd41 commit d80ac64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/option.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1380,7 +1380,7 @@ impl<'a, T> From<&'a Option<T>> for Option<&'a T> {
13801380
/// so this technique uses `as_ref` to first take an `Option` to a reference
13811381
/// to the value inside the original.
13821382
///
1383-
/// [`map`]: enum.Option.html#method.map
1383+
/// [`map`]: ../../std/option/enum.Option.html#method.map
13841384
/// [`String`]: ../../std/string/struct.String.html
13851385
/// [`usize`]: ../../std/primitive.usize.html
13861386
///

0 commit comments

Comments
 (0)