Skip to content

Commit e6b8a35

Browse files
lint
1 parent a1c1ea6 commit e6b8a35

File tree

1 file changed

+10
-12
lines changed
  • iceberg-rust/src/table/transaction

1 file changed

+10
-12
lines changed

iceberg-rust/src/table/transaction/mod.rs

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -191,18 +191,16 @@ impl<'table> TableTransaction<'table> {
191191
}
192192
/// Create a new data sequence number for subsequent appends
193193
pub fn new_data_sequence_number(mut self) -> Self {
194-
if let Some(ref mut operation) = self.operations[APPEND_INDEX] {
195-
if let Operation::Append {
196-
branch: _,
197-
dsn_groups,
198-
additional_summary: None,
199-
} = operation
200-
{
201-
dsn_groups.push(DsnGroup {
202-
data_files: vec![],
203-
delete_files: vec![],
204-
});
205-
}
194+
if let Some(Operation::Append {
195+
branch: _,
196+
ref mut dsn_groups,
197+
additional_summary: None,
198+
}) = self.operations[APPEND_INDEX]
199+
{
200+
dsn_groups.push(DsnGroup {
201+
data_files: vec![],
202+
delete_files: vec![],
203+
});
206204
}
207205
self
208206
}

0 commit comments

Comments
 (0)