Skip to content

Commit

Permalink
Rollup merge of #66872 - Mikotochan:patch-1, r=jonas-schievink
Browse files Browse the repository at this point in the history
Minor documentation fix

Fixed the documentation for any as is a trait rather than a type.
  • Loading branch information
RalfJung authored Nov 29, 2019
2 parents 0f6745d + 26e5fd4 commit 0b1b36c
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 0b1b36c

Please sign in to comment.