3 ms·
You want AsRef, not Borrow, unless you need the additional guarantees that Borrow provides (identical comparisons and hashing).
by Arnavion 7y ago
You want AsRef, not Borrow, unless you need the additional guarantees that Borrow provides (identical comparisons and hashing).