Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/load-cargo/src/lib.rs')
| -rw-r--r-- | crates/load-cargo/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/load-cargo/src/lib.rs b/crates/load-cargo/src/lib.rs index 8f02f20ad1..6c65e6a04f 100644 --- a/crates/load-cargo/src/lib.rs +++ b/crates/load-cargo/src/lib.rs @@ -318,7 +318,7 @@ fn load_crate_graph( for task in receiver { match task { vfs::loader::Message::Progress { n_done, n_total, .. } => { - if n_done == n_total { + if n_done == Some(n_total) { break; } } |