mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Fix
This commit is contained in:
parent
945679e42f
commit
17d1405a8b
1 changed files with 1 additions and 3 deletions
|
@ -119,9 +119,7 @@ function isDeprecated(rd: RustDiagnostic): boolean {
|
|||
return false;
|
||||
}
|
||||
|
||||
return [
|
||||
'deprecated',
|
||||
].includes(rd.code.code);
|
||||
return ['deprecated'].includes(rd.code.code);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue