• Dhs92@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 month ago

    Not really related to the pointer thing, but Rust also has pattern matching based on Enums, as they’re actually sum-types and not just numbers