Skip to content

Commit

Permalink
Rollup merge of rust-lang#34145 - matklad:any-docs, r=steveklabnik
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sanxiyn authored Jun 10, 2016
2 parents b694093 + 7abdbd4 commit 06e069e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 06e069e

Please sign in to comment.