about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-03-24 14:50:48 -0700
committerAlex Crichton <alex@alexcrichton.com>2015-03-24 14:50:48 -0700
commit8a0bb4281361b1b7d11239c4a154a3d75e6bdf64 (patch)
tree7412262a0b9dba9d6344b08e8ed1472127b1bb94
parent5c74ed912bdbee166fe37acca45543c24aba2c8c (diff)
parent0031d57a2107546d3763a0cfd867189a64fac77b (diff)
downloadrust-8a0bb4281361b1b7d11239c4a154a3d75e6bdf64.tar.gz
rust-8a0bb4281361b1b7d11239c4a154a3d75e6bdf64.zip
rollup merge of #23661: steveklabnik/any_docs
http://www.reddit.com/r/rust/comments/304q00/type_information_in_rust/cpp43lu
-rw-r--r--src/libcore/any.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 3938a610668..c94d8e2ed0c 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -82,11 +82,11 @@ use marker::Sized;
 // Any trait
 ///////////////////////////////////////////////////////////////////////////////
 
-/// The `Any` trait is implemented by all `'static` types, and can be used for
-/// dynamic typing
+/// A type to emulate dynamic typing. See the [module-level documentation][mod] for more details.
 ///
-/// Every type with no non-`'static` references implements `Any`, so `Any` can
-/// be used as a trait object to emulate the effects dynamic typing.
+/// Every type with no non-`'static` references implements `Any`.
+///
+/// [mod]: ../index.html
 #[stable(feature = "rust1", since = "1.0.0")]
 pub trait Any: 'static {
     /// Get the `TypeId` of `self`