about summary refs log tree commit diff
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-08-17 08:00:45 +0000
committerbors <bors@rust-lang.org>2020-08-17 08:00:45 +0000
commit67e7b9b8cf776222825dbbd4cb1e39b7765ef27c (patch)
tree0161084ef37bd3a83e18644e5893130d6df0333e
parent94d7660d59fadf0ec7887e7a82c32bf1d8f84fb4 (diff)
parent75c1e2dfbb9a24b32994d409bb00a85fed8532d1 (diff)
downloadrust-67e7b9b8cf776222825dbbd4cb1e39b7765ef27c.tar.gz
rust-67e7b9b8cf776222825dbbd4cb1e39b7765ef27c.zip
Auto merge of #75535 - denisvasilik:intra-doc-links-any, r=jyn514
Move to intra-doc links for /library/core/src/any.rs

Helps with #75080.

@rustbot modify labels: T-doc, A-intra-doc-links, T-rustdoc

Known issues:

* Links from `core` to `std` (#74481):
    * `[Box]: ../../std/boxed/struct.Box.html`
-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