From 1ad1c11649b3aa4c3cdbc4c9559d4823ebf7898c Mon Sep 17 00:00:00 2001 From: Carl Dong Date: Wed, 20 Feb 2019 17:16:21 -0500 Subject: [PATCH] Forbid unsafe code --- src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib.rs b/src/lib.rs index bea603c1..4c97795a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -35,6 +35,7 @@ #![cfg_attr(feature = "clippy", allow(extend_from_slice))] // `extend_from_slice` only available since 1.6 // Coding conventions +#![forbid(unsafe_code)] #![deny(non_upper_case_globals)] #![deny(non_camel_case_types)] #![deny(non_snake_case)]