From ed67aa4a9b66c1e2a23429d6faa4830e471bc1b7 Mon Sep 17 00:00:00 2001 From: Nilstrieb <48135649+Nilstrieb@users.noreply.github.com> Date: Sun, 9 Oct 2022 19:38:31 +0200 Subject: [PATCH] More cleanups --- src/lib.rs | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 7433fd0..c090c3f 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -2,10 +2,6 @@ #![warn(rust_2018_idioms)] #![warn(missing_docs)] #![deny(clippy::undocumented_unsafe_blocks)] -// deny the fuzzy provenance casts during tests -// this makes `cargo test` require nightly but i don't care -#![cfg_attr(test, feature(strict_provenance))] -#![cfg_attr(test, deny(fuzzy_provenance_casts))] //! A crate for stuffing things into a pointer. //! @@ -283,7 +279,7 @@ mod either { #[cfg(test)] mod tests { - #![allow(non_snake_case)] + #![allow(non_snake_case, clippy::undocumented_unsafe_blocks)] use std::{boxed::Box, format, println};