about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorMikotochan <Mikotochan@users.noreply.github.com>2019-11-29 20:47:16 +0200
committerGitHub <noreply@github.com>2019-11-29 20:47:16 +0200
commit26e5fd4c964fead8c0233aa2e7170aae93435125 (patch)
tree2ee176f3ad95a999eb7d530947f89acf3440f242 /src/libcore
parentd99e0c6d02b159f305474f58c8c38027bb06e051 (diff)
downloadrust-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.rs2
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.