Skip to content

Commit

Permalink
parallelize
Browse files Browse the repository at this point in the history
  • Loading branch information
Feel-ix-343 committed Mar 11, 2024
1 parent 38b1744 commit 28e0e12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/diagnostics.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub fn diagnostics(vault: &Vault, (path, _uri): (&PathBuf, &Url)) -> Option<Vec<
let allreferences = vault.select_references(None)?;

let diags: Vec<Diagnostic> = unresolved
.into_iter()
.into_par_iter()
.map(|(path, reference)| Diagnostic {
range: *reference.data().range,
message: match allreferences
Expand Down

0 comments on commit 28e0e12

Please sign in to comment.