diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-06-13 08:18:49 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2021-06-13 08:18:49 +0100 |
commit | adbee621a75f47e0da4f30d7205dfce009138865 (patch) | |
tree | ed8dcbba37de566f00d119817e141bb8293ce164 /crates/vfs | |
parent | f107b0f1e223dba33cb9850ce44bcbb4345eef52 (diff) | |
parent | 5ac6804bb3a07b959e8c2c3534255a8d6bb4948c (diff) |
Merge #9242
9242: Clippy r=matklad a=Maan2003
Best viewed commit wise
Co-authored-by: Maan2003 <[email protected]>
Diffstat (limited to 'crates/vfs')
-rw-r--r-- | crates/vfs/src/file_set.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/vfs/src/file_set.rs b/crates/vfs/src/file_set.rs index 0a4590c8d..0011f73c9 100644 --- a/crates/vfs/src/file_set.rs +++ b/crates/vfs/src/file_set.rs | |||
@@ -111,7 +111,7 @@ impl FileSetConfig { | |||
111 | let mut scratch_space = Vec::new(); | 111 | let mut scratch_space = Vec::new(); |
112 | let mut res = vec![FileSet::default(); self.len()]; | 112 | let mut res = vec![FileSet::default(); self.len()]; |
113 | for (file_id, path) in vfs.iter() { | 113 | for (file_id, path) in vfs.iter() { |
114 | let root = self.classify(&path, &mut scratch_space); | 114 | let root = self.classify(path, &mut scratch_space); |
115 | res[root].insert(file_id, path.clone()) | 115 | res[root].insert(file_id, path.clone()) |
116 | } | 116 | } |
117 | res | 117 | res |