Skip to content

Commit 9acff41

Browse files
authored
Merge pull request #301 from dtolnay/clippy
Fix the old clippy invocation
2 parents b321d91 + 047d408 commit 9acff41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

posts/2018-12-06-Rust-1.31-and-rust-2018.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ If you previously used Clippy's lints, you can migrate like this:
362362

363363
```rust
364364
// old
365-
#![cfg_attr(clippy, bool_comparison)]
365+
#![cfg_attr(feature = "cargo-clippy", allow(bool_comparison))]
366366

367367
// new
368368
#![allow(clippy::bool_comparison)]

0 commit comments

Comments
 (0)