diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 390c66dfca6..755fd23b3fb 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs @@ -306,7 +306,7 @@ fn loop_turn( } } vfs::loader::Message::Progress { n_entries_total, n_entries_done } => { - if n_entries_done == n_entries_done { + if n_entries_done == n_entries_total { loop_state.status = Status::Ready; became_ready = true; }