←back to thread

128 points RGBCube | 1 comments | | HN request time: 0.204s | source
Show context
csomar ◴[] No.44497997[source]
Derive Clone is not broken. It is basic. I’d say this is a good area for a dependency but not the core Rust functionality. Keep derive simple and stupid, so people can learn they can derive stuff themselves. It also avoids any surprises.
replies(3): >>44498105 #>>44498162 #>>44498173 #
1. atemerev ◴[] No.44498173[source]
I mean, how this is not core Rust functionality if you need clone for many things unless you want to fight the borrow checker for yet another day?