Skip to content

Commit

Permalink
Disable clippy::useless-let-if-seq
Browse files Browse the repository at this point in the history
It does not understand when return, break, continue are used. Relevant: rust-lang/rust-clippy#2918
  • Loading branch information
MaksymZavershynskyi authored Nov 23, 2018
1 parent 354546b commit 7379ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/run_clippy.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/bash
cargo clippy --all -- -A clippy::unit_arg -A clippy::if_same_then_else -A clippy::collapsible_if -D warnings
cargo clippy --all -- -A clippy::unit_arg -A clippy::if_same_then_else -A clippy::collapsible_if -A clippy::useless-let-if-seq -D warnings

0 comments on commit 7379ec5

Please sign in to comment.