Closed qartik closed 3 months ago
Without this change, using #![deny(missing_docs)] fails:
#![deny(missing_docs)]
error: missing documentation for a constant --> /Users/kartik/GH/project/target/debug/build/project-6de82e90c60d85bc/out/shadow.rs:588:1 | 588 | pub const CLAP_VERSION:&str = shadow_rs::formatcp!(r#"{} | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: the lint level is defined here --> src/lib.rs:13:9 | 13 | #![deny(missing_docs)] | ^^^^^^^^^^^^
Another possible change is to remove the deprecated constant itself.
Thx @qartik .New version publised,please use:
shadow-rs = "0.28.0"
Without this change, using
#![deny(missing_docs)]
fails:Another possible change is to remove the deprecated constant itself.