• Dhs92@programming.dev
    link
    fedilink
    arrow-up
    2
    ·
    15 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