Generate docs.rs documentation with doc_auto_cfg (#2358)
This commit is contained in:
parent
2fb15dbe8a
commit
8fc24c959a
3 changed files with 4 additions and 0 deletions
|
|
@ -135,6 +135,8 @@
|
|||
#![deny(rustdoc::broken_intra_doc_links)]
|
||||
#![deny(clippy::all)]
|
||||
#![cfg_attr(feature = "cargo-clippy", deny(warnings))]
|
||||
// Doc feature labels can be tested locally by running RUSTDOCFLAGS="--cfg=docsrs" cargo +nightly doc
|
||||
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
|
||||
#![allow(clippy::missing_safety_doc)]
|
||||
|
||||
#[allow(unused_imports)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue