• Dhs92@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    3 days 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