From ddc5a3e5679bab2ae574fcfc6b7afcbd31b702bc Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jun 2020 16:56:27 +0200 Subject: [PATCH] Fix infinite cargo check bug --- crates/rust-analyzer/src/main_loop.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }