Less error-prone naming

This commit is contained in:
Aleksey Kladov
2020-06-24 16:58:49 +02:00
parent ddc5a3e567
commit 6937bcb67d
4 changed files with 12 additions and 21 deletions

View File

@@ -67,8 +67,8 @@ pub(crate) fn load(
// wait until Vfs has loaded all roots
for task in receiver {
match task {
vfs::loader::Message::Progress { n_entries_done, n_entries_total } => {
if n_entries_done == n_entries_total {
vfs::loader::Message::Progress { n_done, n_total } => {
if n_done == n_total {
break;
}
}