Skip to content

Commit 26e5fd4

Browse files
authored
Minor documentation fix
Fixed the documentation for any as is a trait rather than a type.
1 parent d99e0c6 commit 26e5fd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libcore/any.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ use crate::intrinsics;
6868
// Any trait
6969
///////////////////////////////////////////////////////////////////////////////
7070

71-
/// A type to emulate dynamic typing.
71+
/// A trait to emulate dynamic typing.
7272
///
7373
/// Most types implement `Any`. However, any type which contains a non-`'static` reference does not.
7474
/// See the [module-level documentation][mod] for more details.

0 commit comments

Comments
 (0)