We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a53ed2 commit b7800e1Copy full SHA for b7800e1
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