diff options
author | Aleksey Kladov <[email protected]> | 2020-06-24 15:56:27 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2020-06-24 15:59:15 +0100 |
commit | ddc5a3e5679bab2ae574fcfc6b7afcbd31b702bc (patch) | |
tree | 5feb4993a781dc9312758f4a588d9b2ac083c5dd /crates/rust-analyzer/src/main_loop.rs | |
parent | 1a3b507a007d0373a83bde203d780b860ea55ce1 (diff) |
Fix infinite cargo check bug
Diffstat (limited to 'crates/rust-analyzer/src/main_loop.rs')
-rw-r--r-- | crates/rust-analyzer/src/main_loop.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rust-analyzer/src/main_loop.rs b/crates/rust-analyzer/src/main_loop.rs index 390c66dfc..755fd23b3 100644 --- a/crates/rust-analyzer/src/main_loop.rs +++ b/crates/rust-analyzer/src/main_loop.rs | |||
@@ -306,7 +306,7 @@ fn loop_turn( | |||
306 | } | 306 | } |
307 | } | 307 | } |
308 | vfs::loader::Message::Progress { n_entries_total, n_entries_done } => { | 308 | vfs::loader::Message::Progress { n_entries_total, n_entries_done } => { |
309 | if n_entries_done == n_entries_done { | 309 | if n_entries_done == n_entries_total { |
310 | loop_state.status = Status::Ready; | 310 | loop_state.status = Status::Ready; |
311 | became_ready = true; | 311 | became_ready = true; |
312 | } | 312 | } |