Use forbid(unsafe_code) over deny(unsafe_code)

This commit is contained in:
Ryan Leckey 2020-01-03 11:45:18 -08:00
parent 4f3175c5d7
commit 8d8fea874a
2 changed files with 2 additions and 2 deletions

View file

@ -77,7 +77,7 @@ See the beginnings of a [RealWorld](https://github.com/gothinkster/realworld/tre
## Safety
This crate uses `#[deny(unsafe_code)]` to ensure everything is implemented in 100% Safe Rust.
This crate uses `#[forbid(unsafe_code)]` to ensure everything is implemented in 100% Safe Rust.
## License

View file

@ -1,5 +1,5 @@
#![recursion_limit = "256"]
#![deny(unsafe_code)]
#![forbid(unsafe_code)]
#[macro_use]
pub mod error;