Skip to content

Commit

Permalink
fix: Ensure we forbid unsafe
Browse files Browse the repository at this point in the history
  • Loading branch information
epage committed Feb 11, 2024
1 parent 2544921 commit fa64714
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
//! # Feature Flags
//!
#![cfg_attr(feature = "document-features", doc = document_features::document_features!())]
#![cfg_attr(feature = "safe", forbid(unsafe_code))]
#![cfg_attr(not(feature = "unsafe"), forbid(unsafe_code))]
#![cfg_attr(docsrs, feature(doc_auto_cfg))]

#[cfg(not(feature = "std"))]
Expand Down

0 comments on commit fa64714

Please sign in to comment.