about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorSeo Sanghyeon <sanxiyn@gmail.com>2016-06-10 21:16:45 +0900
committerGitHub <noreply@github.com>2016-06-10 21:16:45 +0900
commit06e069ea16301c7f435fb36f1901f472524501c7 (patch)
treea4327dfa4fa122cb83bc9fc5588853f0d7a3079e /src/libcore
parentb6940932d42ba6dd5ae482787bd8fc05bb14e77b (diff)
parent7abdbd4483ae66fd462c8310a0e67a62d76137ce (diff)
downloadrust-06e069ea16301c7f435fb36f1901f472524501c7.tar.gz
rust-06e069ea16301c7f435fb36f1901f472524501c7.zip
Rollup merge of #34145 - matklad:any-docs, r=steveklabnik
docs: simplify wording

It took me more then a moment to decipher "with no non-`'static`" thing :)

"`'static` type" should say the same thing more clearly.

r? @steveklabnik
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/any.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index dfd2ba9154d..49304b1f3bf 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -85,7 +85,7 @@ use marker::{Reflect, Sized};
 
 /// A type to emulate dynamic typing.
 ///
-/// Every type with no non-`'static` references implements `Any`.
+/// 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