Skip to content

Commit

Permalink
Minor documentation fix
Browse files Browse the repository at this point in the history
Fixed the documentation for any as is a trait rather than a type.
  • Loading branch information
Mikotochan authored Nov 29, 2019
1 parent d99e0c6 commit 26e5fd4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcore/any.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 26e5fd4

Please sign in to comment.