From 5c33ba138fd90bd4404c77e3bf74d2892e64ac04 Mon Sep 17 00:00:00 2001 From: Nils Heydecker <48135649+Nilstrieb@users.noreply.github.com> Date: Wed, 6 Apr 2022 14:09:54 +0200 Subject: [PATCH] add deny(unsafe_op_in_unsafe_fn) back in I can worry about the MSRV impact later, I just want a working build for now --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index c2f7063..b08641e 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,6 +1,6 @@ #![no_std] #![warn(rust_2018_idioms)] -#![cfg_attr(test, deny(unsafe_op_in_unsafe_fn))] // this is great, but MSRV :( +#![deny(unsafe_op_in_unsafe_fn)] #![warn(missing_docs)] //! A crate for stuffing things into a pointer.