Login
You're viewing the y.diskcat.com public feed.
  • Oct 24, 2025, 5:31 PM

    Now could a rustacean explain to me when to pass plain enums as references vs. copies? It's never something you need to own but it's also an integer (somewhere in there) so why do I care? I just don't want to have to sprinkle & and .clone() around

    #rustlang

    💬 0🔄 0⭐ 0