From 75c1e2dfbb9a24b32994d409bb00a85fed8532d1 Mon Sep 17 00:00:00 2001 From: Denis Vasilik Date: Fri, 14 Aug 2020 20:50:38 +0200 Subject: [PATCH] Use intra-doc links --- library/core/src/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/core/src/any.rs b/library/core/src/any.rs index b28471337c6be..d79b9a33b5aa8 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