diff options
author | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-22 12:57:30 +0800 |
---|---|---|
committer | Sebastian Thiel <sthiel@thoughtworks.com> | 2019-07-22 12:57:30 +0800 |
commit | f4028baf655e2994459e55d62435de4456fee80f (patch) | |
tree | 27d7060027c2abdd18d56ae2719fa46fdf73ed05 /src/main.rs | |
parent | 387cc1f86e5aec8a20a25ea71f74e948b110d2c6 (diff) |
Forbid unsafe everywhere
Looks much better in cargo-geiger, and is the right thing to do
I believe. Most crates should be able to work without any unsafe.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index e5453c7..1e79175 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,3 +1,4 @@ +#![forbid(unsafe_code)] #![allow(clippy::match_bool)] extern crate failure; extern crate failure_tools; |