diff options
Diffstat (limited to 'crates/ra_vfs/src/lib.rs')
-rw-r--r-- | crates/ra_vfs/src/lib.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_vfs/src/lib.rs b/crates/ra_vfs/src/lib.rs index 1fb255365..cfdc1275f 100644 --- a/crates/ra_vfs/src/lib.rs +++ b/crates/ra_vfs/src/lib.rs | |||
@@ -159,7 +159,7 @@ impl fmt::Debug for Vfs { | |||
159 | impl Vfs { | 159 | impl Vfs { |
160 | pub fn new(roots: Vec<PathBuf>) -> (Vfs, Vec<VfsRoot>) { | 160 | pub fn new(roots: Vec<PathBuf>) -> (Vfs, Vec<VfsRoot>) { |
161 | let roots = Arc::new(Roots::new(roots)); | 161 | let roots = Arc::new(Roots::new(roots)); |
162 | let worker = io::Worker::start(Arc::clone(&roots)); | 162 | let worker = io::start(Arc::clone(&roots)); |
163 | let mut root2files = ArenaMap::default(); | 163 | let mut root2files = ArenaMap::default(); |
164 | 164 | ||
165 | for (root, config) in roots.iter() { | 165 | for (root, config) in roots.iter() { |