Clean up Any's title line
http://www.reddit.com/r/rust/comments/304q00/type_information_in_rust/cpp43lu
This commit is contained in:
@@ -82,11 +82,11 @@ use marker::Sized;
|
|||||||
// Any trait
|
// Any trait
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
/// The `Any` trait is implemented by all `'static` types, and can be used for
|
/// A type to emulate dynamic typing. See the [module-level documentation][mod] for more details.
|
||||||
/// dynamic typing
|
|
||||||
///
|
///
|
||||||
/// Every type with no non-`'static` references implements `Any`, so `Any` can
|
/// Every type with no non-`'static` references implements `Any`.
|
||||||
/// be used as a trait object to emulate the effects dynamic typing.
|
///
|
||||||
|
/// [mod]: ../index.html
|
||||||
#[stable(feature = "rust1", since = "1.0.0")]
|
#[stable(feature = "rust1", since = "1.0.0")]
|
||||||
pub trait Any: 'static {
|
pub trait Any: 'static {
|
||||||
/// Get the `TypeId` of `self`
|
/// Get the `TypeId` of `self`
|
||||||
|
|||||||
Reference in New Issue
Block a user