about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorRalf Jung <post@ralfj.de>2019-11-29 22:57:44 +0100
committerGitHub <noreply@github.com>2019-11-29 22:57:44 +0100
commit0b1b36ccb6c84a16b097f58bb6aa249f5ce73821 (patch)
tree23864775c3e4cab78e4612aad345352b92a28f55 /src/libcore
parent0f6745d6e287d1688c876fc5bc2ce8cad92c14cd (diff)
parent26e5fd4c964fead8c0233aa2e7170aae93435125 (diff)
downloadrust-0b1b36ccb6c84a16b097f58bb6aa249f5ce73821.tar.gz
rust-0b1b36ccb6c84a16b097f58bb6aa249f5ce73821.zip
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.
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.