mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Add semicolons for consistency
`clippy::semicolon_if_nothing_returned`
This commit is contained in:
parent
60c5449120
commit
55c0b86cde
46 changed files with 151 additions and 151 deletions
|
@ -112,7 +112,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.clone())
|
||||
res[root].insert(file_id, path.clone());
|
||||
}
|
||||
res
|
||||
}
|
||||
|
@ -157,7 +157,7 @@ impl FileSetConfigBuilder {
|
|||
|
||||
/// Add a new set of paths prefixes.
|
||||
pub fn add_file_set(&mut self, roots: Vec<VfsPath>) {
|
||||
self.roots.push(roots)
|
||||
self.roots.push(roots);
|
||||
}
|
||||
|
||||
/// Build the `FileSetConfig`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue