Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This falls short with generics, e.g.

    let map = HashMap::new(); // <K,V> unknown
    map.insert("hello", 1);


I think that works in Rust, and they only do local inference (in the same function).




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: