Navigation Menu

Skip to content

Commit

Permalink
Shorten, yet clarify, initial summary sentences
Browse files Browse the repository at this point in the history
  • Loading branch information
carols10cents committed May 23, 2016
1 parent bd50eff commit b4e123d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/libcore/clone.rs
Expand Up @@ -46,7 +46,9 @@

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
/// the implementation of `Copy` that only does a `memcpy`.
///
Expand Down
4 changes: 3 additions & 1 deletion src/libcore/default.rs
Expand Up @@ -84,7 +84,9 @@

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].
///
/// [module]: ../../std/default/index.html
Expand Down

0 comments on commit b4e123d

Please sign in to comment.