We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 899ad09 commit 85600d2Copy full SHA for 85600d2
helix-term/src/application.rs
@@ -761,7 +761,7 @@ impl Application {
761
true
762
});
763
764
- let diagnostics = params
+ let diagnostics: Vec<(lsp::Diagnostic, LanguageServerId)> = params
765
.diagnostics
766
.into_iter()
767
.map(|d| (d, server_id))
@@ -1241,8 +1241,8 @@ impl Application {
1241
1242
pub fn get_unchanged_diagnostic_sources(
1243
doc: &Document,
1244
- diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
1245
- old_diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
+ diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
+ old_diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
1246
server_id: LanguageServerId,
1247
) -> Vec<String> {
1248
let mut unchanged_diag_sources = Vec::new();
0 commit comments