about summary refs log tree commit diff
path: root/src/libcore
diff options
context:
space:
mode:
authorJake Goulding <jake.goulding@gmail.com>2015-12-11 18:44:11 -0500
committerJake Goulding <jake.goulding@gmail.com>2015-12-11 18:44:11 -0500
commitb8366b171a5382c113b908279cd10797047e9439 (patch)
tree87584ae6e556f4c58c2e8d65aed78e8eb4b4709f /src/libcore
parent81dd3824ff4f4f85db2a092dab78e5e6c05f96cc (diff)
Correct reference to `Box<Any>` in `Any` docs
Diffstat (limited to 'src/libcore')
-rw-r--r--src/libcore/any.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/libcore/any.rs b/src/libcore/any.rs
index 61c64ab8dee..2ad121b03fa 100644
--- a/src/libcore/any.rs
+++ b/src/libcore/any.rs
@@ -16,13 +16,14 @@
 //! `downcast_ref` methods, to test if the contained value is of a given type,
 //! and to get a reference to the inner value as a type. As `&mut Any`, there
 //! is also the `downcast_mut` method, for getting a mutable reference to the
-//! inner value. `Box<Any>` adds the `move` method, which will unwrap a
-//! `Box<T>` from the object. See the extension traits (`*Ext`) for the full
-//! details.
+//! inner value. `Box<Any>` adds the `downcast` method, which attempts to
+//! convert to a `Box<T>`. See the [`Box`] documentation for the full details.
 //!
 //! Note that &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`]: ../boxed/struct.Box.html
+//!
 //! # Examples
 //!
 //! Consider a situation where we want to log out a value passed to a function.