diff options
author | arsdragonfly <[email protected]> | 2019-09-28 01:02:51 +0100 |
---|---|---|
committer | arsdragonfly <[email protected]> | 2019-09-28 01:02:51 +0100 |
commit | 17d1405a8b4eddedaf3665fc41ff4fa17a1409a7 (patch) | |
tree | 4e2a986b015c742fa4ace6920b4410a44389e46d | |
parent | 945679e42fbefe565cb37456d3cf9cc3b0da6df5 (diff) |
Fix
-rw-r--r-- | editors/code/src/utils/diagnostics/rust.ts | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/editors/code/src/utils/diagnostics/rust.ts b/editors/code/src/utils/diagnostics/rust.ts index cd02ee46c..0550d0372 100644 --- a/editors/code/src/utils/diagnostics/rust.ts +++ b/editors/code/src/utils/diagnostics/rust.ts | |||
@@ -119,9 +119,7 @@ function isDeprecated(rd: RustDiagnostic): boolean { | |||
119 | return false; | 119 | return false; |
120 | } | 120 | } |
121 | 121 | ||
122 | return [ | 122 | return ['deprecated'].includes(rd.code.code); |
123 | 'deprecated', | ||
124 | ].includes(rd.code.code); | ||
125 | } | 123 | } |
126 | 124 | ||
127 | /** | 125 | /** |