Skip to content

Commit 047d408

Browse files
committed
Fix the old clippy invocation
1 parent 0d0a11e commit 047d408

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
@@ -361,7 +361,7 @@ If you previously used Clippy's lints, you can migrate like this:
361361

362362
```rust
363363
// old
364-
#![cfg_attr(clippy, bool_comparison)]
364+
#![cfg_attr(feature = "cargo-clippy", allow(bool_comparison))]
365365

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

0 commit comments

Comments
 (0)