News for hackers. Stuff that matters.
Re:Should small Rust structs be passed by-copy or by-borrow? by Arnavion on Monday August 26, 2019 @03:58PM (#20803138)
You want AsRef, not Borrow, unless you need the additional guarantees that Borrow provides (identical comparisons and hashing).

There are no comments on this comment yet.