From 90cbc9a6452fc10bc8d44c2f0889e7856055e689 Mon Sep 17 00:00:00 2001 From: Sergei Patiakin Date: Mon, 2 Dec 2024 16:21:01 +0100 Subject: [PATCH] Align argument name with doc comment --- crates/iceberg/src/spec/table_metadata_builder.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/iceberg/src/spec/table_metadata_builder.rs b/crates/iceberg/src/spec/table_metadata_builder.rs index ed4ab7902b..bae2948034 100644 --- a/crates/iceberg/src/spec/table_metadata_builder.rs +++ b/crates/iceberg/src/spec/table_metadata_builder.rs @@ -141,10 +141,10 @@ impl TableMetadataBuilder { #[must_use] pub fn new_from_metadata( previous: TableMetadata, - previous_file_location: Option, + current_file_location: Option, ) -> Self { Self { - previous_history_entry: previous_file_location.map(|l| MetadataLog { + previous_history_entry: current_file_location.map(|l| MetadataLog { metadata_file: l, timestamp_ms: previous.last_updated_ms, }),