mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
Use forbid(unsafe_code) over deny(unsafe_code)
This commit is contained in:
parent
4f3175c5d7
commit
8d8fea874a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#![recursion_limit = "256"]
|
||||
#![deny(unsafe_code)]
|
||||
#![forbid(unsafe_code)]
|
||||
|
||||
#[macro_use]
|
||||
pub mod error;
|
||||
|
|
Loading…
Reference in a new issue