diff options
| author | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2016-05-23 12:52:38 -0400 |
|---|---|---|
| committer | Carol (Nichols || Goulding) <carol.nichols@gmail.com> | 2016-05-23 12:53:42 -0400 |
| commit | b4e123d3e0fd9459733f9ebb0802877a995abef4 (patch) | |
| tree | e407a2ede68106712ea804bfe603e622f7640ece /src/libcore | |
| parent | bd50effe0f3c030c47cd444888426a82c589f9fa (diff) | |
| download | rust-b4e123d3e0fd9459733f9ebb0802877a995abef4.tar.gz rust-b4e123d3e0fd9459733f9ebb0802877a995abef4.zip | |
Shorten, yet clarify, initial summary sentences
Diffstat (limited to 'src/libcore')
| -rw-r--r-- | src/libcore/clone.rs | 4 | ||||
| -rw-r--r-- | src/libcore/default.rs | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/libcore/clone.rs b/src/libcore/clone.rs index 629808cb124..3a5ba2387ac 100644 --- a/src/libcore/clone.rs +++ b/src/libcore/clone.rs @@ -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`. /// diff --git a/src/libcore/default.rs b/src/libcore/default.rs index 74101c66c97..689ace97e23 100644 --- a/src/libcore/default.rs +++ b/src/libcore/default.rs @@ -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 |
