]> git.lizzy.rs Git - rust.git/commitdiff
Updates `Clone` docs for `Copy` comparison.
authorqwerty01 <qw3rty01@gmail.com>
Thu, 10 Jun 2021 15:28:26 +0000 (11:28 -0400)
committerqwerty01 <qw3rty01@gmail.com>
Thu, 10 Jun 2021 15:28:26 +0000 (11:28 -0400)
library/core/src/clone.rs

index 51a2dc03de3186668e51f942acd9cd841a0b3017..19faf9cddac6faa392a946742d00807d7441bf29 100644 (file)
@@ -38,7 +38,7 @@
 
 /// A common trait for the ability to explicitly duplicate an object.
 ///
-/// Differs from [`Copy`] in that [`Copy`] is implicit and extremely inexpensive, while
+/// Differs from [`Copy`] in that [`Copy`] is implicit and an inexpensive bit-wise copy, while
 /// `Clone` is always explicit and may or may not be expensive. In order to enforce
 /// these characteristics, Rust does not allow you to reimplement [`Copy`], but you
 /// may reimplement `Clone` and run arbitrary code.