From e2b938fcca763f12cb0e494e4e86ad627238d2e5 Mon Sep 17 00:00:00 2001 From: Jonathan Behrens Date: Sun, 7 Apr 2024 13:20:26 -0700 Subject: [PATCH] Forbid unsafe code (#22) --- 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;