aboutsummaryrefslogtreecommitdiff
path: root/crates/vfs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-06-24 15:58:49 +0100
committerAleksey Kladov <[email protected]>2020-06-24 15:59:15 +0100
commit6937bcb67d825938d862cd1792af02e00e1d1a06 (patch)
tree62afb8a2be50f8491dfd33f15d1b96a54b7ae2ab /crates/vfs
parentddc5a3e5679bab2ae574fcfc6b7afcbd31b702bc (diff)
Less error-prone naming
Diffstat (limited to 'crates/vfs')
-rw-r--r--crates/vfs/src/loader.rs8
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
18pub enum Message { 18pub 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 }