summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCerberuser <computers05@mail.ru>2019-10-13 19:03:21 +0700
committerGitHub <noreply@github.com>2019-10-13 19:03:21 +0700
commit0510bbfb35c4628f4574b6b798d395bfa9f9a218 (patch)
tree65282f5b3dd273d2916d38c3f45cd509481f6368
parentcfda050c01bba4a9b2ca9356b317ba22d6da0ca7 (diff)
downloadrust-0510bbfb35c4628f4574b6b798d395bfa9f9a218.tar.gz
Added code element
Co-Authored-By: Jonas Schievink <jonasschievink@gmail.com>
-rw-r--r--src/libcore/any.rs2
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