• anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    5
    ·
    2 months ago

    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.