We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 0a53ed2 + b7800e1 commit d270887Copy full SHA for d270887
clippy_lints/src/attrs.rs
@@ -238,6 +238,7 @@ declare_clippy_lint! {
238
/// #[cfg(unix)]
239
/// fn conditional() { }
240
/// ```
241
+ /// Check the [Rust Reference](https://doc.rust-lang.org/reference/conditional-compilation.html#target_os) for more details.
242
pub MISMATCHED_TARGET_OS,
243
correctness,
244
"usage of `cfg(operating_system)` instead of `cfg(target_os = \"operating_system\")`"
0 commit comments