diff options
| author | Ralf Jung <post@ralfj.de> | 2019-11-29 22:57:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-29 22:57:44 +0100 |
| commit | 0b1b36ccb6c84a16b097f58bb6aa249f5ce73821 (patch) | |
| tree | 23864775c3e4cab78e4612aad345352b92a28f55 /src/libcore | |
| parent | 0f6745d6e287d1688c876fc5bc2ce8cad92c14cd (diff) | |
| parent | 26e5fd4c964fead8c0233aa2e7170aae93435125 (diff) | |
| download | rust-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.rs | 2 |
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. |
