Skip to content

Commit

Permalink
Merge pull request #72 from epage/fix
Browse files Browse the repository at this point in the history
fix: Ensure we forbid unsafe
  • Loading branch information
epage authored Feb 11, 2024
2 parents 4868a2f + fa64714 commit 4d983dc
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 4d983dc

Please sign in to comment.