@thekbknapp ("Kevin K. 🦀 👏") retweeted:
@ekuber ("Esteban K�ber – 🦀⚙️") wrote:
Why doesn't Rust autoderive Copy if it could? Because Copy is not just about dealing with bytes and ergonomics, it's about API design.
with quote tweet:
@CecileTonglet ("Cecile Tonglet 🦀") wrote:
Today in what *not* to do when designing an API in #rustlang: deriving Copy on types typically passed in argument as mutable reference
An unaware user might just pass the value to 2 different places thinking "it's the same object" but in fact it's not
