Skip to content

Commit

Permalink
Fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
SofusA committed Jul 26, 2024
1 parent 6541153 commit 009f414
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helix-term/src/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@ impl Application {
true
});

let diagnostics = params
let diagnostics: Vec<(lsp::Diagnostic, LanguageServerId)> = params
.diagnostics
.into_iter()
.map(|d| (d, server_id))
Expand Down Expand Up @@ -1241,8 +1241,8 @@ impl Application {

pub fn get_unchanged_diagnostic_sources(
doc: &Document,
diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
old_diagnostics: &Vec<(lsp::Diagnostic, LanguageServerId)>,
diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
old_diagnostics: &[(lsp::Diagnostic, LanguageServerId)],
server_id: LanguageServerId,
) -> Vec<String> {
let mut unchanged_diag_sources = Vec::new();
Expand Down

0 comments on commit 009f414

Please sign in to comment.