Closed jannic closed 1 month ago
Since rust 1.82.0, addr_of is no longer unsafe: https://github.com/rust-lang/rust/pull/125834
Just removing the unsafe statement would break builds with older versions of rust. Instead, allow the unused_unsafe lint.
Since rust 1.82.0, addr_of is no longer unsafe: https://github.com/rust-lang/rust/pull/125834
Just removing the unsafe statement would break builds with older versions of rust. Instead, allow the unused_unsafe lint.