• Dhs92@programming.dev
    link
    fedilink
    arrow-up
    1
    ·
    4 hours 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