Skip to content

Commit b4e123d

Browse files
committed
Shorten, yet clarify, initial summary sentences
1 parent bd50eff commit b4e123d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

src/libcore/clone.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@
4646

4747
use marker::Sized;
4848

49-
/// A common trait for cloning an object. Differs from `Copy` in that you can
49+
/// A common trait for the ability to explicitly duplicate an object.
50+
///
51+
/// Differs from `Copy` in that you can
5052
/// define `Clone` to run arbitrary code, while you are not allowed to override
5153
/// the implementation of `Copy` that only does a `memcpy`.
5254
///

src/libcore/default.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,9 @@
8484

8585
use marker::Sized;
8686

87-
/// A trait for giving a type a useful default value. For more information, see
87+
/// A trait for giving a type a useful default value.
88+
///
89+
/// For more information, see
8890
/// [the module-level documentation][module].
8991
///
9092
/// [module]: ../../std/default/index.html

0 commit comments

Comments
 (0)