diff options
Diffstat (limited to 'crates/vfs')
-rw-r--r-- | crates/vfs/src/loader.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/crates/vfs/src/loader.rs b/crates/vfs/src/loader.rs index 052803dd9..6de2e5b3f 100644 --- a/crates/vfs/src/loader.rs +++ b/crates/vfs/src/loader.rs | |||
@@ -16,7 +16,7 @@ pub struct Config { | |||
16 | } | 16 | } |
17 | 17 | ||
18 | pub enum Message { | 18 | pub enum Message { |
19 | Progress { n_entries_total: usize, n_entries_done: usize }, | 19 | Progress { n_total: usize, n_done: usize }, |
20 | Loaded { files: Vec<(AbsPathBuf, Option<Vec<u8>>)> }, | 20 | Loaded { files: Vec<(AbsPathBuf, Option<Vec<u8>>)> }, |
21 | } | 21 | } |
22 | 22 | ||
@@ -56,10 +56,10 @@ impl fmt::Debug for Message { | |||
56 | Message::Loaded { files } => { | 56 | Message::Loaded { files } => { |
57 | f.debug_struct("Loaded").field("n_files", &files.len()).finish() | 57 | f.debug_struct("Loaded").field("n_files", &files.len()).finish() |
58 | } | 58 | } |
59 | Message::Progress { n_entries_total, n_entries_done } => f | 59 | Message::Progress { n_total, n_done } => f |
60 | .debug_struct("Progress") | 60 | .debug_struct("Progress") |
61 | .field("n_entries_total", n_entries_total) | 61 | .field("n_total", n_total) |
62 | .field("n_entries_done", n_entries_done) | 62 | .field("n_done", n_done) |
63 | .finish(), | 63 | .finish(), |
64 | } | 64 | } |
65 | } | 65 | } |