Skip to content

Commit

Permalink
Rollup merge of #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
Manishearth committed Jun 8, 2016
2 parents 20f4d99 + 7abdbd4 commit c7b9ee2
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 c7b9ee2

Please sign in to comment.