Fix warnings surfaced in Rust 1.71
This commit is contained in:
parent
4c7d60ed13
commit
a127b0d3e6
7 changed files with 5 additions and 9 deletions
|
@ -2369,7 +2369,7 @@ impl BackgroundScannerState {
|
|||
}
|
||||
|
||||
// Remove any git repositories whose .git entry no longer exists.
|
||||
let mut snapshot = &mut self.snapshot;
|
||||
let snapshot = &mut self.snapshot;
|
||||
let mut repositories = mem::take(&mut snapshot.git_repositories);
|
||||
let mut repository_entries = mem::take(&mut snapshot.repository_entries);
|
||||
repositories.retain(|work_directory_id, _| {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue