From a30553ddbbbe7d68eec96efd00b65f5d89f63e8c Mon Sep 17 00:00:00 2001
From: Héctor Ramón Jiménez <hector0193@gmail.com>
Date: Mon, 20 Jan 2020 10:52:06 +0100
Subject: Forbid unsafe code and Rust 2018 idioms

---
 native/src/lib.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'native/src')

diff --git a/native/src/lib.rs b/native/src/lib.rs
index b5856c00..3b81ef71 100644
--- a/native/src/lib.rs
+++ b/native/src/lib.rs
@@ -37,8 +37,8 @@
 #![deny(missing_docs)]
 #![deny(missing_debug_implementations)]
 #![deny(unused_results)]
-#![deny(unsafe_code)]
-#![deny(rust_2018_idioms)]
+#![forbid(unsafe_code)]
+#![forbid(rust_2018_idioms)]
 pub mod input;
 pub mod layout;
 pub mod renderer;
-- 
cgit