mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Invert condition
This commit is contained in:
parent
26725fcfbb
commit
6a7d1d4412
1 changed files with 1 additions and 1 deletions
|
@ -749,7 +749,7 @@ fn handle_fixes(
|
||||||
|
|
||||||
match ¶ms.context.only {
|
match ¶ms.context.only {
|
||||||
Some(v) => {
|
Some(v) => {
|
||||||
if v.iter().any(|it| {
|
if !v.iter().any(|it| {
|
||||||
it == &lsp_types::CodeActionKind::EMPTY
|
it == &lsp_types::CodeActionKind::EMPTY
|
||||||
|| it == &lsp_types::CodeActionKind::QUICKFIX
|
|| it == &lsp_types::CodeActionKind::QUICKFIX
|
||||||
}) {
|
}) {
|
||||||
|
|
Loading…
Reference in a new issue