Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'crates/vfs-notify/src/lib.rs')
-rw-r--r--crates/vfs-notify/src/lib.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/vfs-notify/src/lib.rs b/crates/vfs-notify/src/lib.rs
index 00df1377c7..15a0ea5409 100644
--- a/crates/vfs-notify/src/lib.rs
+++ b/crates/vfs-notify/src/lib.rs
@@ -105,7 +105,7 @@ impl NotifyActor {
let n_total = config.load.len();
self.send(loader::Message::Progress {
n_total,
- n_done: 0,
+ n_done: None,
config_version,
dir: None,
});
@@ -120,14 +120,14 @@ impl NotifyActor {
let files =
self.load_entry(entry, watch, |file| loader::Message::Progress {
n_total,
- n_done: i,
+ n_done: Some(i),
dir: Some(file),
config_version,
});
self.send(loader::Message::Loaded { files });
self.send(loader::Message::Progress {
n_total,
- n_done: i + 1,
+ n_done: Some(i + 1),
config_version,
dir: None,
});