rust/library/core
Jacob Pratt ef4f2d640e
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.
2025-12-24 02:52:59 -05:00
..
src Rollup merge of #150139 - GKFX:clone-docs, r=jhpratt 2025-12-24 02:52:59 -05:00
Cargo.toml add autodiff examples 2025-11-16 23:35:37 -05:00