Skip to content

Commit

Permalink
Align argument name with doc comment (#750)
Browse files Browse the repository at this point in the history
  • Loading branch information
SergeiPatiakin authored Dec 3, 2024
1 parent 59e113b commit 1798b30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/iceberg/src/spec/table_metadata_builder.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,10 +141,10 @@ impl TableMetadataBuilder {
#[must_use]
pub fn new_from_metadata(
previous: TableMetadata,
previous_file_location: Option<String>,
current_file_location: Option<String>,
) -> 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,
}),
Expand Down

0 comments on commit 1798b30

Please sign in to comment.