diff options
| author | bors <bors@rust-lang.org> | 2020-05-01 16:33:14 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-05-01 16:33:14 +0000 |
| commit | d2708873ef711ec8ab45df1e984ecf24a96cd369 (patch) | |
| tree | 9b839ecb815d59d1184a3a3bedc8d430d696c091 | |
| parent | 0a53ed2d8ea81d09b0ae2d6c5e206ec22a0ba46c (diff) | |
| parent | b7800e1ac30607d921d76dc77e5d848fd6a0c221 (diff) | |
| download | rust-d2708873ef711ec8ab45df1e984ecf24a96cd369.tar.gz rust-d2708873ef711ec8ab45df1e984ecf24a96cd369.zip | |
Auto merge of #5548 - matthiaskrgr:traget_os, r=flip1995
mismatched_target_os: link to respective section in rust reference changelog: none
| -rw-r--r-- | clippy_lints/src/attrs.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clippy_lints/src/attrs.rs b/clippy_lints/src/attrs.rs index 6431e0d6132..64abc9fdc71 100644 --- a/clippy_lints/src/attrs.rs +++ b/clippy_lints/src/attrs.rs @@ -238,6 +238,7 @@ declare_clippy_lint! { /// #[cfg(unix)] /// fn conditional() { } /// ``` + /// Check the [Rust Reference](https://doc.rust-lang.org/reference/conditional-compilation.html#target_os) for more details. pub MISMATCHED_TARGET_OS, correctness, "usage of `cfg(operating_system)` instead of `cfg(target_os = \"operating_system\")`" |
