Skip to content

Commit 6509103

Browse files
committed
minor
1 parent 2572fcc commit 6509103

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/iceberg/src/transaction/update_statistics.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ mod tests {
104104
.apply()
105105
.unwrap();
106106

107-
let TableUpdate::SetStatistics { statistics } = tx.updates.get(0).unwrap().clone() else {
107+
let TableUpdate::SetStatistics { statistics } = tx.updates.first().unwrap().clone() else {
108108
panic!("The update should be a TableUpdate::SetStatistics!");
109109
};
110110
assert_eq!(statistics, statistics_file_1);

0 commit comments

Comments
 (0)