Skip to content

Commit

Permalink
Remove .clone()
Browse files Browse the repository at this point in the history
  • Loading branch information
aannleax committed Jul 5, 2024
1 parent efd21d8 commit aa6804d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nemo-physical/src/tabular/operations/filter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ impl GeneratorFilter {
let mut grouped_filters = HashMap::<OperationColumnMarker, Vec<&Filter>>::new();

for filter in filters {
let marker = Self::find_last_reference(input, filter).unwrap_or(input[0].clone());
let marker = Self::find_last_reference(input, filter).unwrap_or(input[0]);
grouped_filters.entry(marker).or_default().push(filter);
}

Expand Down

0 comments on commit aa6804d

Please sign in to comment.