1
Fork 0

Rollup merge of #66872 - Mikotochan:patch-1, r=jonas-schievink

Minor documentation fix

Fixed the documentation for any as is a trait rather than a type.
This commit is contained in:
Ralf Jung 2019-11-29 22:57:44 +01:00 committed by GitHub
commit 0b1b36ccb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -68,7 +68,7 @@ use crate::intrinsics;
// Any trait
///////////////////////////////////////////////////////////////////////////////
/// A type to emulate dynamic typing.
/// A trait to emulate dynamic typing.
///
/// Most types implement `Any`. However, any type which contains a non-`'static` reference does not.
/// See the [module-level documentation][mod] for more details.