• 1984@lemmy.today
    link
    fedilink
    arrow-up
    1
    arrow-down
    7
    ·
    2 hours ago

    Let us know when the borrow checker is optional so I can write it without hurting my brain.

      • KillTheMule@programming.dev
        link
        fedilink
        arrow-up
        3
        arrow-down
        1
        ·
        1 hour ago

        unsafe does not disable the borrow checker. It does however give you abilities to circumvent it, namely by letting you dereference pointers, which are not subject to the borrow checker.

        • ulterno@programming.dev
          link
          fedilink
          English
          arrow-up
          0
          ·
          1 hour ago

          OIC. I really need to start learning this language soon, or I won’t be able to understand future memes and rants.