aboutsummaryrefslogtreecommitdiff
path: root/editors
diff options
context:
space:
mode:
Diffstat (limited to 'editors')
-rw-r--r--editors/code/src/utils/diagnostics/rust.ts4
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/**