by staticassertion · 8y ago · 0 comments
If you want the Option behavior, there's .get()
Anyways, very cool looking language.
[0] https://doc.rust-lang.org/std/collections/struct.HashMap.htm... [1] https://doc.rust-lang.org/book/second-edition/ch08-03-hash-m...