1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-01-19 04:21:06 +00:00

Deny unsafe code in lib and bin

The deny also applies recursively to submodules.
This commit is contained in:
Martin Nordholts 2021-10-03 16:50:29 +02:00
parent 043f3381b0
commit 554374667e
2 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
#![deny(unsafe_code)]
mod app; mod app;
mod assets; mod assets;
mod clap_app; mod clap_app;

View File

@ -19,6 +19,8 @@
//! .unwrap(); //! .unwrap();
//! ``` //! ```
#![deny(unsafe_code)]
mod macros; mod macros;
pub mod assets; pub mod assets;