Skip to content

Commit aa8e4ca

Browse files
Fixing clippy issues
1 parent ae5308f commit aa8e4ca

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/information_schema.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -498,7 +498,7 @@ impl TableInfoTable {
498498
// Aggregate file statistics
499499
for file in &all_files {
500500
let key = (file.schema_name.clone(), file.table_name.clone());
501-
let entry = table_stats.entry(key).or_insert_with(TableStats::default);
501+
let entry = table_stats.entry(key).or_default();
502502
entry.file_count += 1;
503503
entry.file_size += file.file.file.file_size_bytes;
504504
if file.file.delete_file.is_some() {

0 commit comments

Comments
 (0)