Skip to content

Commit c7b9ee2

Browse files
committed
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
2 parents 20f4d99 + 7abdbd4 commit c7b9ee2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ use marker::{Reflect, Sized};
8585

8686
/// A type to emulate dynamic typing.
8787
///
88-
/// Every type with no non-`'static` references implements `Any`.
88+
/// Most types implement `Any`. However, any type which contains a non-`'static` reference does not.
8989
/// See the [module-level documentation][mod] for more details.
9090
///
9191
/// [mod]: index.html

0 commit comments

Comments
 (0)