Enable clippy::nonminimal_bool
(#8755)
This PR enables the [`clippy::nonminimal_bool`](https://rust-lang.github.io/rust-clippy/master/index.html#/nonminimal_bool) rule and fixes the outstanding violations. Release Notes: - N/A
This commit is contained in:
parent
2f876471a1
commit
191fcf67d1
6 changed files with 6 additions and 5 deletions
|
@ -4283,6 +4283,7 @@ impl Project {
|
|||
})
|
||||
.collect();
|
||||
|
||||
#[allow(clippy::nonminimal_bool)]
|
||||
if !code_actions.is_empty()
|
||||
&& !(trigger == FormatTrigger::Save
|
||||
&& settings.format_on_save == FormatOnSave::Off)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue