Skip to content

Commit

Permalink
Merge pull request #294 from fintelia/forbid-unsafe
Browse files Browse the repository at this point in the history
Forbid unsafe_code
  • Loading branch information
KodrAus committed Jan 31, 2023
2 parents 89f03d5 + 70027f9 commit 5b36ce5
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 5b36ce5

Please sign in to comment.