Skip to content

Commit 85600d2

Browse files
committed
Fix lint issue
1 parent 899ad09 commit 85600d2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

helix-term/src/application.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ impl Application {
761761
true
762762
});
763763

764-
let diagnostics = params
764+
let diagnostics: Vec<(lsp::Diagnostic, LanguageServerId)> = params
765765
.diagnostics
766766
.into_iter()
767767
.map(|d| (d, server_id))
@@ -1241,8 +1241,8 @@ impl Application {
12411241

12421242
pub fn get_unchanged_diagnostic_sources(
12431243
doc: &Document,
1244-
diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
1245-
old_diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
1244+
diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
1245+
old_diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
12461246
server_id: LanguageServerId,
12471247
) -> Vec<String> {
12481248
let mut unchanged_diag_sources = Vec::new();

0 commit comments

Comments
 (0)