Deny unsafe code in lib and bin

The deny also applies recursively to submodules.
This commit is contained in:
Martin Nordholts committed 2021-10-04 08:08:33 +02:00
1 parent 043f3381b0
commit 554374667e
2 files changed
+4

No files matched your search

+2
View File
@@ -1,3 +1,5 @@
#![deny(unsafe_code)]
mod app; mod app;
mod assets; mod assets;
mod clap_app; mod clap_app;
+2
View File
@@ -19,6 +19,8 @@
//! .unwrap(); //! .unwrap();
//! ``` //! ```
#![deny(unsafe_code)]
mod macros; mod macros;
pub mod assets; pub mod assets;