Skip to content

Commit d721f4a

Browse files
committed
Remove uneeded clone
1 parent b7ff0df commit d721f4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

datafusion/execution/src/cache/cache_unit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ impl FileStatisticsCache for DefaultFileStatisticsCache {
225225
let mut entries = HashMap::<Path, FileStatisticsCacheEntry>::new();
226226
for entry in self.state.lock().unwrap().lru_queue.list_entries() {
227227
let path = entry.0.clone();
228-
let cached = entry.1.clone();
228+
let cached = entry.1;
229229
entries.insert(
230230
path.path,
231231
FileStatisticsCacheEntry {

0 commit comments

Comments
 (0)