diff --git a/README.md b/README.md index 388125e9..3f8e552b 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/sqlx-core/src/lib.rs b/sqlx-core/src/lib.rs index 83e62f5c..2ff6c7de 100644 --- a/sqlx-core/src/lib.rs +++ b/sqlx-core/src/lib.rs @@ -1,5 +1,5 @@ #![recursion_limit = "256"] -#![deny(unsafe_code)] +#![forbid(unsafe_code)] #[macro_use] pub mod error;