Skip to content

Commit

Permalink
Silence warning about cfg features
Browse files Browse the repository at this point in the history
  • Loading branch information
silvanshade committed Jun 1, 2024
1 parent 1af788b commit e52144a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions aes/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@
)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![warn(missing_docs, rust_2018_idioms)]
#![allow(unexpected_cfgs)] // Silence warning about use of non-cargo features for cfg

#[cfg(feature = "hazmat")]
#[cfg_attr(docsrs, doc(cfg(feature = "hazmat")))]
Expand Down

0 comments on commit e52144a

Please sign in to comment.