Skip to content

Commit

Permalink
Merge pull request #71 from sorairolake/doc-auto-cfg
Browse files Browse the repository at this point in the history
chore(doc): Support `doc_auto_cfg` for docs.rs
  • Loading branch information
kennytm authored Jul 14, 2024
2 parents 48acb57 + 221bb3b commit e9373de
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
//! ```

#![cfg_attr(feature = "bench", feature(test))] // Unstable libraries
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
#![warn(clippy::pedantic)]
#![allow(
clippy::must_use_candidate, // This is just annoying.
Expand Down

0 comments on commit e9373de

Please sign in to comment.