• TehPers@beehaw.org
    link
    fedilink
    English
    arrow-up
    3
    ·
    13 days ago

    No, the attribute is unsafe. An unsafe function is marked unsafe fn.

    Also, unsafe by itself just means there are invariants that must me manually upheld to avoid unsound behavior. If those invariants are upheld, then it doesn’t matter if it’s unsafe.