Shorten, yet clarify, initial summary sentences
This commit is contained in:
@@ -46,7 +46,9 @@
|
|||||||
|
|
||||||
use marker::Sized;
|
use marker::Sized;
|
||||||
|
|
||||||
/// A common trait for cloning an object. Differs from `Copy` in that you can
|
/// A common trait for the ability to explicitly duplicate an object.
|
||||||
|
///
|
||||||
|
/// Differs from `Copy` in that you can
|
||||||
/// define `Clone` to run arbitrary code, while you are not allowed to override
|
/// define `Clone` to run arbitrary code, while you are not allowed to override
|
||||||
/// the implementation of `Copy` that only does a `memcpy`.
|
/// the implementation of `Copy` that only does a `memcpy`.
|
||||||
///
|
///
|
||||||
|
|||||||
@@ -84,7 +84,9 @@
|
|||||||
|
|
||||||
use marker::Sized;
|
use marker::Sized;
|
||||||
|
|
||||||
/// A trait for giving a type a useful default value. For more information, see
|
/// A trait for giving a type a useful default value.
|
||||||
|
///
|
||||||
|
/// For more information, see
|
||||||
/// [the module-level documentation][module].
|
/// [the module-level documentation][module].
|
||||||
///
|
///
|
||||||
/// [module]: ../../std/default/index.html
|
/// [module]: ../../std/default/index.html
|
||||||
|
|||||||
Reference in New Issue
Block a user