]> git.lizzy.rs Git - rust.git/commitdiff
Use intra-doc links
authorDenis Vasilik <contact@denisvasilik.com>
Fri, 14 Aug 2020 18:50:38 +0000 (20:50 +0200)
committerDenis Vasilik <contact@denisvasilik.com>
Fri, 14 Aug 2020 18:50:38 +0000 (20:50 +0200)
library/core/src/any.rs

index b28471337c6be929b53a64eab7bf056a3c9409f4..d79b9a33b5aa87053a71114a7f12a5dad04db936 100644 (file)
@@ -73,7 +73,7 @@
 /// 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