Re:The borrowchecker is what I like the least about Rust
by ameliaquining on Saturday July 19, 2025 @09:12PM
(#44621006)
Fixing the get_default example wouldn't require interprocedural analysis. (It requires Polonius, which, yeah, has taken a long time to ship.)
[ Parent
| on HN ]
Re:The borrowchecker is what I like the least about Rust
by estebank on Saturday July 19, 2025 @10:21PM
(#44621393)
The get_default example requires only one to use the stdlib API: https://doc.rust-lang.org/std/collections/hash_map/enum.Entr...