mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-29 05:15:04 +00:00
fix: Fix progress reporting getting stuck
This commit is contained in:
parent
2b02df27c5
commit
0bdbf497b6
6 changed files with 66 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue