Skip to content

Commit

Permalink
Use forbid(unsafe_code) over deny(unsafe_code)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehcode committed Jan 3, 2020
1 parent 4f3175c commit 8d8fea8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion sqlx-core/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#![recursion_limit = "256"]
#![deny(unsafe_code)]
#![forbid(unsafe_code)]

#[macro_use]
pub mod error;
Expand Down

0 comments on commit 8d8fea8

Please sign in to comment.