Skip to content

Commit

Permalink
allow doc_cfg cfg check
Browse files Browse the repository at this point in the history
  • Loading branch information
stbuehler committed Jun 24, 2024
1 parent 0784668 commit 0715a7f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ version-sync = "0.9.1"
[package.metadata.docs.rs]
all-features = true
targets = []

[lints.rust]
# allow #[cfg_attr(doc_cfg, doc(cfg(...)))]
unexpected_cfgs = { level = "warn", check-cfg = ['cfg(doc_cfg)'] }

0 comments on commit 0715a7f

Please sign in to comment.