mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-13 17:27:50 +00:00
Use forbid(unsafe_code) over deny(unsafe_code)
This commit is contained in:
parent
4f3175c5d7
commit
8d8fea874a
@ -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…
x
Reference in New Issue
Block a user