Skip to content

Commit

Permalink
Remove redundant into_iter
Browse files Browse the repository at this point in the history
  • Loading branch information
cjdsellers committed Nov 11, 2023
1 parent ed7be48 commit 7c594c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nautilus_core/persistence/src/backend/kmerge_batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ mod tests {
let mut kmerge: KMerge<_, u64, _> = KMerge::new(OrdComparator);

let copy_data = all_data.clone();
for stream in copy_data.into_iter() {
for stream in copy_data {
let input = stream.0.into_iter().map(std::iter::IntoIterator::into_iter);
kmerge.push_iter(input);
}
Expand Down

0 comments on commit 7c594c5

Please sign in to comment.