aboutsummaryrefslogtreecommitdiff
path: root/crates/vfs/src
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-06-24 14:52:07 +0100
committerAleksey Kladov <[email protected]>2020-06-24 15:16:52 +0100
commite6c61d5072e600372ba4a38ad8893af37aaa77e6 (patch)
treefd9b9d3295963b17f65d2a0960189adeae38c3a2 /crates/vfs/src
parenta07cad16ab6271809d30ecf723420b3e41ec42ef (diff)
Cleanup project.json deserialization
Diffstat (limited to 'crates/vfs/src')
-rw-r--r--crates/vfs/src/loader.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/vfs/src/loader.rs b/crates/vfs/src/loader.rs
index a216b5f13..052803dd9 100644
--- a/crates/vfs/src/loader.rs
+++ b/crates/vfs/src/loader.rs
@@ -1,7 +1,7 @@
1//! Object safe interface for file watching and reading. 1//! Object safe interface for file watching and reading.
2use std::fmt; 2use std::fmt;
3 3
4use paths::AbsPathBuf; 4use paths::{AbsPath, AbsPathBuf};
5 5
6#[derive(Debug)] 6#[derive(Debug)]
7pub enum Entry { 7pub enum Entry {
@@ -28,7 +28,7 @@ pub trait Handle: fmt::Debug {
28 Self: Sized; 28 Self: Sized;
29 fn set_config(&mut self, config: Config); 29 fn set_config(&mut self, config: Config);
30 fn invalidate(&mut self, path: AbsPathBuf); 30 fn invalidate(&mut self, path: AbsPathBuf);
31 fn load_sync(&mut self, path: &AbsPathBuf) -> Option<Vec<u8>>; 31 fn load_sync(&mut self, path: &AbsPath) -> Option<Vec<u8>>;
32} 32}
33 33
34impl Entry { 34impl Entry {