aboutsummaryrefslogtreecommitdiff
path: root/crates/vfs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2020-06-24 15:25:56 +0100
committerGitHub <[email protected]>2020-06-24 15:25:56 +0100
commit1a3b507a007d0373a83bde203d780b860ea55ce1 (patch)
treefd9b9d3295963b17f65d2a0960189adeae38c3a2 /crates/vfs
parent97c4d06258bace7c9caf211d3a307fff05bdb58e (diff)
parente6c61d5072e600372ba4a38ad8893af37aaa77e6 (diff)
Merge #5034
5034: Cleanup project.json deserialization r=matklad a=matklad bors r+ 🤖 Co-authored-by: Aleksey Kladov <[email protected]>
Diffstat (limited to 'crates/vfs')
-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 {