Shorten, yet clarify, initial summary sentences
This commit is contained in:
parent
bd50effe0f
commit
b4e123d3e0
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue