• anton
    link
    fedilink
    arrow-up
    7
    ·
    18 天前

    Rust doesn’t allow type inference in function signatures, c++ does with auto. IIRC, they recommended against using it, because of -you guessed it- compile time.