Minor, push allocations down
This commit is contained in:
@@ -62,7 +62,7 @@ impl FileSetConfig {
|
||||
let mut res = vec![FileSet::default(); self.len()];
|
||||
for (file_id, path) in vfs.iter() {
|
||||
let root = self.classify(&path, &mut scratch_space);
|
||||
res[root].insert(file_id, path)
|
||||
res[root].insert(file_id, path.clone())
|
||||
}
|
||||
res
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user