Avoid a useless FxHashSet::insert
in FileSearch::for_each_lib_search_path
.
This commit is contained in:
parent
8375ab4ff4
commit
0238bcc60d
1 changed files with 0 additions and 2 deletions
|
@ -53,8 +53,6 @@ impl<'a> FileSearch<'a> {
|
||||||
if !visited_dirs.contains(&tlib_path) {
|
if !visited_dirs.contains(&tlib_path) {
|
||||||
f(&tlib_path, PathKind::All);
|
f(&tlib_path, PathKind::All);
|
||||||
}
|
}
|
||||||
|
|
||||||
visited_dirs.insert(tlib_path);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn get_lib_path(&self) -> PathBuf {
|
pub fn get_lib_path(&self) -> PathBuf {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue