about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDenis Vasilik <contact@denisvasilik.com>2020-08-14 20:50:38 +0200
committerDenis Vasilik <contact@denisvasilik.com>2020-08-14 20:50:38 +0200
commit75c1e2dfbb9a24b32994d409bb00a85fed8532d1 (patch)
tree3624cbb8e61a8cb261b81458a3c25b62e9010581
parentc94ed5ca91f1363b66970ce2cbd6e2773e3cb1d3 (diff)
downloadrust-75c1e2dfbb9a24b32994d409bb00a85fed8532d1.tar.gz
rust-75c1e2dfbb9a24b32994d409bb00a85fed8532d1.zip
Use intra-doc links
-rw-r--r--library/core/src/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/library/core/src/any.rs b/library/core/src/any.rs
index b28471337c6..d79b9a33b5a 100644
--- a/library/core/src/any.rs
+++ b/library/core/src/any.rs
@@ -73,7 +73,7 @@ use crate::intrinsics;
 /// Most types implement `Any`. However, any type which contains a non-`'static` reference does not.
 /// See the [module-level documentation][mod] for more details.
 ///
-/// [mod]: index.html
+/// [mod]: crate::any
 // This trait is not unsafe, though we rely on the specifics of it's sole impl's
 // `type_id` function in unsafe code (e.g., `downcast`). Normally, that would be
 // a problem, but because the only impl of `Any` is a blanket implementation, no