• o11c
    link
    fedilink
    English
    arrow-up
    1
    ·
    1 year ago

    One problem is that Rust doesn’t support tagged unions. enum is regrettably solving a different problem, but since it’s the only hammer we have, it’s abused for this kind of thing. This often leads to having to write match error ... unreachable.