{
  "$type": "site.standard.document",
  "bskyPostRef": {
    "cid": "bafyreidiuazebhn6uy6icplhvzbychgzdlhynakjnqgrythgrha2epbnty",
    "uri": "at://did:plc:ivbknywyskln22er3nkssdhl/app.bsky.feed.post/3mnpubxxberi2"
  },
  "path": "/t/make-derive-copy-enough-for-both-clone-and-copy/24371?page=2#post_22",
  "publishedAt": "2026-06-07T16:48:10.000Z",
  "site": "https://internals.rust-lang.org",
  "textContent": "HKalbasi:\n\n> It is not just saving 7 letters, it can also improve the codegen for `Clone`:\n\nThe `Clone` derive already does that, so there is no argument here (there is some order required between the derives, I don't remember which should be above and which below, but if they're on the same line it always works).\n\nHKalbasi:\n\n> And if it gets done over an edition, ... and it would no longer need complex compiler features.\n\nNot true, since old editions must still be supported by the compiler.",
  "title": "Make `#[derive(Copy)]` enough for both `Clone` and `Copy`"
}