Skip to content

Commit

Permalink
Upgrade from deny->forbid(unsafe_code)
Browse files Browse the repository at this point in the history
  • Loading branch information
nkconnor committed Oct 25, 2024
1 parent 99bfcd0 commit 852d3af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
//!
//! ## Features
//!
//! * **Zero unsafe code.** This library uses `#![deny(unsafe_code)]` and was motivated by
//! * **Zero unsafe code.** This library uses `#![forbid(unsafe_code)]` and was motivated by
//! the complexity and amount of memory errors present in many alternatives.
//!
//! * **Intuitive API.** Uses similar or same methods as `std` when possible.
Expand Down Expand Up @@ -95,7 +95,7 @@
//! Unless you explicitly state otherwise, any contribution intentionally submitted
//! for inclusion in `sharded` by you, as defined in the Apache-2.0 license, shall be
//! dual licensed as above, without any additional terms or conditions.
#![deny(unsafe_code)]
#![forbid(unsafe_code)]

use hashbrown::raw::{RawIntoIter, RawTable};
use parking_lot::{MappedRwLockReadGuard, RwLock, RwLockReadGuard};
Expand Down

0 comments on commit 852d3af

Please sign in to comment.