From 26e5fd4c964fead8c0233aa2e7170aae93435125 Mon Sep 17 00:00:00 2001 From: Mikotochan Date: Fri, 29 Nov 2019 20:47:16 +0200 Subject: [PATCH] Minor documentation fix Fixed the documentation for any as is a trait rather than a type. --- src/libcore/any.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libcore/any.rs b/src/libcore/any.rs index 57a2aecd8be6d..466750fc7d2c6 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.