Skip to content

Commit

Permalink
Forbid unsafe_code
Browse files Browse the repository at this point in the history
  • Loading branch information
fintelia committed Jan 2, 2023
1 parent 89f03d5 commit 70027f9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Expand Up @@ -340,6 +340,7 @@

#![cfg_attr(not(test), no_std)]
#![doc(html_root_url = "https://docs.rs/bitflags/2.0.0-rc.1")]
#![forbid(unsafe_code)]

#[doc(inline)]
pub use traits::BitFlags;
Expand Down

0 comments on commit 70027f9

Please sign in to comment.