News for hackers. Stuff that matters.
Re:Should Small Rust Structs be Passed by-copy or by-borrow? by sedatk on Saturday December 31, 2022 @07:02PM (#34202075)
> don't take ownership if not needed

That's my approach too as a Rust newbie. Borrow by default and take ownership only when needed, for the best ergononmics.

There are no comments on this comment yet.