Skip to content

Commit

Permalink
Updates Clone docs for Copy comparison.
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerty01 committed Jun 10, 2021
1 parent 40c1623 commit 2788c71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/core/src/clone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 2788c71

Please sign in to comment.