From 324bc18842d56ba2cd2f1121c92aaa72aae99ec3 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Sun, 7 Apr 2024 12:23:26 -0700 Subject: [PATCH] Forbid unsafe code --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 13c08cb..2bb408b 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -69,6 +69,8 @@ that this copyright notice remain intact. //! let color_map = nq.color_map_rgba(); //! ``` +#![forbid(unsafe_code)] + mod math; use crate::math::clamp;