summary refs log tree commit diff
path: root/src/doc/trpl/documentation.md
diff options
context:
space:
mode:
authorTed Mielczarek <ted@mielczarek.org>2015-09-30 12:33:38 -0400
committerTed Mielczarek <ted@mielczarek.org>2015-09-30 12:33:38 -0400
commit73bd0ba91efe68b3d2932d7a2abbdde7308d0738 (patch)
tree2d747b4411a08e778dc5208c32b2cd7ccd186d9b /src/doc/trpl/documentation.md
parentc459e897bdf3b3323aa1ad4bb6e174a5bbc402b0 (diff)
downloadrust-73bd0ba91efe68b3d2932d7a2abbdde7308d0738.tar.gz
rust-73bd0ba91efe68b3d2932d7a2abbdde7308d0738.zip
Fix module links in std::fmt and the Rust book's documentation chapter.
The links in the rustdoc for several places in fmt were trying to link to
the std::fmt module but actually linking to std, which was confusing.
While trying to figure out why I noticed that the documentation chapter of
the Rust book has examples that show this same bug (although it doesn't seem
widespread in practice).
Diffstat (limited to 'src/doc/trpl/documentation.md')
-rw-r--r--src/doc/trpl/documentation.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/doc/trpl/documentation.md b/src/doc/trpl/documentation.md
index 0a471beb439..5afb9b7f868 100644
--- a/src/doc/trpl/documentation.md
+++ b/src/doc/trpl/documentation.md
@@ -45,7 +45,7 @@ Rust keeps track of these comments, and uses them when generating
 documentation. This is important when documenting things like enums:
 
 ```rust
-/// The `Option` type. See [the module level documentation](../) for more.
+/// The `Option` type. See [the module level documentation](index.html) for more.
 enum Option<T> {
     /// No value
     None,
@@ -57,7 +57,7 @@ enum Option<T> {
 The above works, but this does not:
 
 ```rust,ignore
-/// The `Option` type. See [the module level documentation](../) for more.
+/// The `Option` type. See [the module level documentation](index.html) for more.
 enum Option<T> {
     None, /// No value
     Some(T), /// Some value `T`