• anton@lemmy.blahaj.zone
    link
    fedilink
    arrow-up
    7
    ·
    11 days 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.