Skip to content

Commit 852d3af

Browse files
committedOct 25, 2024·
Upgrade from deny->forbid(unsafe_code)
1 parent 99bfcd0 commit 852d3af

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
//!
99
//! ## Features
1010
//!
11-
//! * **Zero unsafe code.** This library uses `#![deny(unsafe_code)]` and was motivated by
11+
//! * **Zero unsafe code.** This library uses `#![forbid(unsafe_code)]` and was motivated by
1212
//! the complexity and amount of memory errors present in many alternatives.
1313
//!
1414
//! * **Intuitive API.** Uses similar or same methods as `std` when possible.
@@ -95,7 +95,7 @@
9595
//! Unless you explicitly state otherwise, any contribution intentionally submitted
9696
//! for inclusion in `sharded` by you, as defined in the Apache-2.0 license, shall be
9797
//! dual licensed as above, without any additional terms or conditions.
98-
#![deny(unsafe_code)]
98+
#![forbid(unsafe_code)]
9999

100100
use hashbrown::raw::{RawIntoIter, RawTable};
101101
use parking_lot::{MappedRwLockReadGuard, RwLock, RwLockReadGuard};

0 commit comments

Comments
 (0)
Please sign in to comment.