about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2015-04-06 08:36:37 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2015-04-06 08:36:37 -0700
commit8fcc5bd6a7db63f435f7a789d3134f6e86cf693d (patch)
tree5e65d07376ae18921bf6bcd481f78ae5d9ff1310
parentcf51e55274d6f2eabaf04ff2fc7a6cd61180a0ac (diff)
downloadrust-8fcc5bd6a7db63f435f7a789d3134f6e86cf693d.tar.gz
rust-8fcc5bd6a7db63f435f7a789d3134f6e86cf693d.zip
Fix broken link and markup in `trait Any` docs.
-rw-r--r--src/libcore/any.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 320fdd50b35..687675f12ef 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -83,11 +83,12 @@ use marker::{Reflect, Sized};
 // Any trait
 ///////////////////////////////////////////////////////////////////////////////
 
-/// A type to emulate dynamic typing. See the [module-level documentation][mod] for more details.
+/// A type to emulate dynamic typing.
 ///
 /// Every type with no non-`'static` references implements `Any`.
+/// See the [module-level documentation][mod] for more details.
 ///
-/// [mod]: ../index.html
+/// [mod]: index.html
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Any: Reflect + 'static {
     /// Get the `TypeId` of `self`