Skip to content

Commit

Permalink
chore: clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
roeap committed Nov 16, 2023
1 parent 5c324cc commit 8bd96d9
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -521,10 +521,7 @@ impl<'a> ConflictChecker<'a> {
let deleted_read_overlap = self
.winning_commit_summary
.removed_files()
.iter()
// TODO remove cloned
.cloned()
.find(|f| read_file_path.contains(&f.path));
.iter().find(|&f| read_file_path.contains(&f.path)).cloned();
if deleted_read_overlap.is_some()
|| (!self.winning_commit_summary.removed_files().is_empty()
&& self.txn_info.read_whole_table())
Expand Down

0 comments on commit 8bd96d9

Please sign in to comment.