From 51ef86e7e0abe2aad2e9e7c4a286e9c0aa7e8cd4 Mon Sep 17 00:00:00 2001 From: John Howard Date: Tue, 28 Nov 2023 13:17:36 -0800 Subject: [PATCH] forbid unsafe --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index d8464c2..483ca3d 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -99,7 +99,7 @@ )] #![deny(unreachable_pub, private_in_public)] #![allow(elided_lifetimes_in_paths, clippy::type_complexity)] -// #![forbid(unsafe_code)] +#![forbid(unsafe_code)] #![cfg_attr(docsrs, feature(doc_auto_cfg, doc_cfg))] #![cfg_attr(test, allow(clippy::float_cmp))]