Sjmarf to Programmer [email protected] • 2 years agoIs this a Nut?media.gehirneimer.deimagemessage-square128fedilinkarrow-up11.31Karrow-down120
arrow-up11.29Karrow-down1imageIs this a Nut?media.gehirneimer.deSjmarf to Programmer [email protected] • 2 years agomessage-square128fedilink
minus-squarenicklinkfedilink6•edit-22 years agoThat flag exists, it’s called unsafe for if you need to tell the borrow checker to trust you or unwrap if you don’t want to deal with handling errors on most ADTs. You can always cast anything to an unmanaged pointer type and use it in unsafe code.
That flag exists, it’s called
unsafe
for if you need to tell the borrow checker to trust you orunwrap
if you don’t want to deal with handling errors on most ADTs.You can always cast anything to an unmanaged pointer type and use it in unsafe code.
Thank you. I’ll check it out next time.