diff options
author | Cerberuser <computers05@mail.ru> | 2019-10-13 19:03:21 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-13 19:03:21 +0700 |
commit | 0510bbfb35c4628f4574b6b798d395bfa9f9a218 (patch) | |
tree | 65282f5b3dd273d2916d38c3f45cd509481f6368 | |
parent | cfda050c01bba4a9b2ca9356b317ba22d6da0ca7 (diff) | |
download | rust-0510bbfb35c4628f4574b6b798d395bfa9f9a218.tar.gz |
Added code element
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
-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 ba0b0679696..f75b7a45443 100644 --- a/src/libcore/any.rs +++ b/src/libcore/any.rs @@ -9,7 +9,7 @@ //! inner value. `Box<dyn Any>` adds the `downcast` method, which attempts to //! convert to a `Box<T>`. See the [`Box`] documentation for the full details. //! -//! Note that &dyn Any is limited to testing whether a value is of a specified +//! Note that `&dyn Any` is limited to testing whether a value is of a specified //! concrete type, and cannot be used to test whether a type implements a trait. //! //! [`Box`]: ../../std/boxed/struct.Box.html |