mirror of
https://github.com/sharkdp/bat.git
synced 2026-10-28 08:05:55 +00:00
Deny unsafe code in lib and bin
The deny also applies recursively to submodules.
This commit is contained in:
1 parent
043f3381b0
commit
554374667e
2 files changed
+4
No files matched your search
@@ -1,3 +1,5 @@
|
|||||||
|
#![deny(unsafe_code)]
|
||||||
|
|
||||||
mod app;
|
mod app;
|
||||||
mod assets;
|
mod assets;
|
||||||
mod clap_app;
|
mod clap_app;
|
||||||
|
|||||||
@@ -19,6 +19,8 @@
|
|||||||
//! .unwrap();
|
//! .unwrap();
|
||||||
//! ```
|
//! ```
|
||||||
|
|
||||||
|
#![deny(unsafe_code)]
|
||||||
|
|
||||||
mod macros;
|
mod macros;
|
||||||
|
|
||||||
pub mod assets;
|
pub mod assets;
|
||||||
|
|||||||
Reference in new issue
Block a user