3 ms·
This falls short with generics, e.g. let map = HashMap::new(); // <K,V> unknown map.insert("hello", 1);
by pornel 6y ago
This falls short with generics, e.g.
let map = HashMap::new(); // <K,V> unknown
map.insert("hello", 1);
- eru 6y agoI think that works in Rust, and they only do local inference (in the same function).
- deleted 6y ago[deleted]