• mkwt@lemmy.world
    link
    fedilink
    arrow-up
    0
    ·
    5 days ago

    It’s worse than that. In C++, if you fail to catch an exception, then std::terminate() is called. In Rust the only options are roughly equivalent to C++ noexcept, or std::terminate() [panic in Rust]. There’s nothing in between.