We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
doc_auto_cfg
doc_cfg
1 parent 180bb08 commit 18f3448Copy full SHA for 18f3448
1 file changed
content/wiki/canonical_lints.md
@@ -59,7 +59,7 @@ clippy.wildcard_dependencies = "warn"
59
## `lib.rs`
60
61
```rust
62
-// LINEBENDER LINT SET - lib.rs - v3
+// LINEBENDER LINT SET - lib.rs - v4
63
// See https://linebender.org/wiki/canonical-lints/
64
// These lints shouldn't apply to examples or tests.
65
#![cfg_attr(not(test), warn(unused_crate_dependencies))]
@@ -68,7 +68,7 @@ clippy.wildcard_dependencies = "warn"
68
// Targeting e.g. 32-bit means structs containing usize can give false positives for 64-bit.
69
#![cfg_attr(target_pointer_width = "64", warn(clippy::trivially_copy_pass_by_ref))]
70
// END LINEBENDER LINT SET
71
-#![cfg_attr(docsrs, feature(doc_auto_cfg))]
+#![cfg_attr(docsrs, feature(doc_cfg))]
72
```
73
74
## `.clippy.toml`
0 commit comments