Skip to content

Commit d270887

Browse files
committed
Auto merge of rust-lang#5548 - matthiaskrgr:traget_os, r=flip1995
mismatched_target_os: link to respective section in rust reference changelog: none
2 parents 0a53ed2 + b7800e1 commit d270887

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

clippy_lints/src/attrs.rs

+1
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ declare_clippy_lint! {
238238
/// #[cfg(unix)]
239239
/// fn conditional() { }
240240
/// ```
241+
/// Check the [Rust Reference](https://doc.rust-lang.org/reference/conditional-compilation.html#target_os) for more details.
241242
pub MISMATCHED_TARGET_OS,
242243
correctness,
243244
"usage of `cfg(operating_system)` instead of `cfg(target_os = \"operating_system\")`"

0 commit comments

Comments
 (0)