diff options
| author | Mikotochan <Mikotochan@users.noreply.github.com> | 2019-11-29 20:47:16 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-29 20:47:16 +0200 |
| commit | 26e5fd4c964fead8c0233aa2e7170aae93435125 (patch) | |
| tree | 2ee176f3ad95a999eb7d530947f89acf3440f242 /src/libcore | |
| parent | d99e0c6d02b159f305474f58c8c38027bb06e051 (diff) | |
| download | rust-26e5fd4c964fead8c0233aa2e7170aae93435125.tar.gz rust-26e5fd4c964fead8c0233aa2e7170aae93435125.zip | |
Minor documentation fix
Fixed the documentation for any as is a trait rather than a type.
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/any.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs index 57a2aecd8be..466750fc7d2 100644 --- a/src/libcore/any.rs +++ b/src/libcore/any.rs @@ -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. |
