Added code element
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
This commit is contained in:
parent
cfda050c01
commit
0510bbfb35
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue