about summary refs log tree commit diff
diff options
context:
space:
mode:
-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