• Ephera@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    5 天前

    unsafe doesn’t deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.