From e6c61d5072e600372ba4a38ad8893af37aaa77e6 Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Wed, 24 Jun 2020 15:52:07 +0200 Subject: Cleanup project.json deserialization --- crates/vfs/src/loader.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'crates/vfs') 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 @@ //! Object safe interface for file watching and reading. use std::fmt; -use paths::AbsPathBuf; +use paths::{AbsPath, AbsPathBuf}; #[derive(Debug)] pub enum Entry { @@ -28,7 +28,7 @@ pub trait Handle: fmt::Debug { Self: Sized; fn set_config(&mut self, config: Config); fn invalidate(&mut self, path: AbsPathBuf); - fn load_sync(&mut self, path: &AbsPathBuf) -> Option>; + fn load_sync(&mut self, path: &AbsPath) -> Option>; } impl Entry { -- cgit v1.2.3