Skip to content

Commit cd844ab

Browse files
committed
i fix clippy every other day
1 parent 9362326 commit cd844ab

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

crates/iceberg/src/transaction/rewrite_files.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ impl RewriteFilesAction {
114114
}
115115
}
116116

117+
impl Default for RewriteFilesAction {
118+
fn default() -> Self {
119+
Self::new()
120+
}
121+
}
122+
117123
#[async_trait]
118124
impl TransactionAction for RewriteFilesAction {
119125
async fn commit(self: Arc<Self>, table: &Table) -> Result<ActionCommit> {

crates/iceberg/src/transaction/snapshot.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ pub(crate) struct SnapshotProducer<'a> {
8585
}
8686

8787
impl<'a> SnapshotProducer<'a> {
88+
#[allow(clippy::too_many_arguments)]
8889
pub(crate) fn new(
8990
table: &'a Table,
9091
commit_uuid: Uuid,

0 commit comments

Comments
 (0)