Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaBatty committed Nov 8, 2023
1 parent 420af85 commit 6915471
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sway-lsp/src/server_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl ServerState {
version: Option<i32>,
session: Arc<Session>,
) {
match run_blocking_parse_project(uri.clone(), version.clone(), session.clone()).await {
match run_blocking_parse_project(uri.clone(), version, session.clone()).await {
Ok(_) => {
// Note: Even if the computed diagnostics vec is empty, we still have to push the empty Vec
// in order to clear former diagnostics. Newly pushed diagnostics always replace previously pushed diagnostics.
Expand Down

0 comments on commit 6915471

Please sign in to comment.