diff options
Diffstat (limited to 'crates/vfs/src')
-rw-r--r-- | crates/vfs/src/loader.rs | 4 |
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. |
2 | use std::fmt; | 2 | use std::fmt; |
3 | 3 | ||
4 | use paths::AbsPathBuf; | 4 | use paths::{AbsPath, AbsPathBuf}; |
5 | 5 | ||
6 | #[derive(Debug)] | 6 | #[derive(Debug)] |
7 | pub enum Entry { | 7 | pub 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 | ||
34 | impl Entry { | 34 | impl Entry { |