about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Szotten <davidszotten@gmail.com>2015-09-18 17:21:30 +0100
committerDavid Szotten <davidszotten@gmail.com>2015-09-18 22:12:16 +0100
commit9d3deb4766e1c3c9d0a0f98fc124de7063b47030 (patch)
treec2a06c9f40ee109331966c09d5e497349438560b
parentdc1c7975b015c14d4c26f2b07ab2b64f5fc66d3c (diff)
downloadrust-9d3deb4766e1c3c9d0a0f98fc124de7063b47030.tar.gz
rust-9d3deb4766e1c3c9d0a0f98fc124de7063b47030.zip
fix anchor link
-rw-r--r--src/doc/trpl/error-handling.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc/trpl/error-handling.md b/src/doc/trpl/error-handling.md
index edb794a54ae..5cd847da823 100644
--- a/src/doc/trpl/error-handling.md
+++ b/src/doc/trpl/error-handling.md
@@ -210,7 +210,7 @@ that makes `unwrap` ergonomic to use. Unfortunately, that `panic!` means that
 
 ### Composing `Option<T>` values
 
-In [`option-ex-string-find`](#code-option-ex-string-find-2)
+In [`option-ex-string-find`](#code-option-ex-string-find)
 we saw how to use `find` to discover the extension in a file name. Of course,
 not all file names have a `.` in them, so it's possible that the file name has
 no extension. This *possibility of absence* is encoded into the types using