Armanriazirustunsafuctionormethod

By calling an unsafe function within an unsafe block, we’re saying that we’ve read this function’s documentation and take responsibility for upholding the function’s contracts.
    unsafe fn dangerous() {}

    unsafe {
        dangerous();
    }
ArmanRiazi