Skip to content

Conversation

@GKFX
Copy link
Contributor

@GKFX GKFX commented Dec 18, 2025

I think the current wording around Clone here is confusing:

  • "Rust does not allow you to reimplement Copy" - reimplement isn't a piece of Rust terminology, but as written it sounds like you can't write impl Copy for X, which you can.
  • "you may reimplement Clone" - again reimplement isn't really a thing that you do to a trait, the distinction is between manually implementing and deriving.
  • "you can automatically make anything Copy be Clone as well" - you don't have a choice about it, so it doesn't really make sense to say you "can ... make" this happen.

@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-libs Relevant to the library team, which will review and decide on the PR/issue. labels Dec 18, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 18, 2025

r? @scottmcm

rustbot has assigned @scottmcm.
They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

@scottmcm

This comment was marked as outdated.

@rustbot rustbot assigned jhpratt and unassigned scottmcm Dec 22, 2025
@jhpratt
Copy link
Member

jhpratt commented Dec 23, 2025

Can you squash this into one commit? r=me with that done.

@jhpratt jhpratt added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Dec 23, 2025
@rustbot
Copy link
Collaborator

rustbot commented Dec 23, 2025

This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed.

Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers.

@jhpratt
Copy link
Member

jhpratt commented Dec 24, 2025

Thanks!

@bors r+ rollup

@bors
Copy link
Collaborator

bors commented Dec 24, 2025

📌 Commit 82499ba has been approved by jhpratt

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Dec 24, 2025
bors added a commit that referenced this pull request Dec 24, 2025
Rollup of 3 pull requests

Successful merges:

 - #150016 (stabilize `lazy_get`)
 - #150139 (Correct terminology in Clone)
 - #150238 (mir_build: Classify `TestableCase::Constant` into multiple sub-kinds)

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit ef4f2d6 into rust-lang:main Dec 24, 2025
11 checks passed
@rustbot rustbot added this to the 1.94.0 milestone Dec 24, 2025
rust-timer added a commit that referenced this pull request Dec 24, 2025
Rollup merge of #150139 - GKFX:clone-docs, r=jhpratt

Correct terminology in Clone

I think the current wording around Clone here is confusing:

- "Rust does not allow you to reimplement `Copy`" - reimplement isn't a piece of Rust terminology, but as written it sounds like you can't write `impl Copy for X`, which you can.
- "you may reimplement `Clone`" - again reimplement isn't really a thing that you do to a trait, the distinction is between manually implementing and deriving.
- "you can automatically make anything `Copy` be `Clone` as well" - you don't have a choice about it, so it doesn't really make sense to say you "can ... make" this happen.
github-actions bot pushed a commit to rust-lang/rustc-dev-guide that referenced this pull request Dec 29, 2025
Rollup of 3 pull requests

Successful merges:

 - rust-lang/rust#150016 (stabilize `lazy_get`)
 - rust-lang/rust#150139 (Correct terminology in Clone)
 - rust-lang/rust#150238 (mir_build: Classify `TestableCase::Constant` into multiple sub-kinds)

r? `@ghost`
`@rustbot` modify labels: rollup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-libs Relevant to the library team, which will review and decide on the PR/issue.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants