Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
css
on Dec 24, 2024
|
parent
|
context
|
favorite
| on:
Four limitations of Rust's borrow checker
Yes, or use the entry api:
https://doc.rust-lang.org/beta/std/collections/hash_map/enum...
josephcsible
on Dec 25, 2024
[–]
I see how that helps with the usual case of inserting a value under the original key if it wasn't there, but I don't see how it helps in this case of checking a different key entirely if it wasn't there.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: