1
Fork 0

Added code element

Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
Cerberuser 2019-10-13 19:03:21 +07:00 committed by GitHub
parent cfda050c01
commit 0510bbfb35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -9,7 +9,7 @@
//! inner value. `Box<dyn Any>` adds the `downcast` method, which attempts to //! 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. //! 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. //! concrete type, and cannot be used to test whether a type implements a trait.
//! //!
//! [`Box`]: ../../std/boxed/struct.Box.html //! [`Box`]: ../../std/boxed/struct.Box.html