Skip to content

Commit ae94bf2

Browse files
PSeitzfulmicoton
andauthored
Update src/aggregation/bucket/histogram/histogram.rs
Co-authored-by: Paul Masurel <[email protected]>
1 parent bdf0a0b commit ae94bf2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/aggregation/bucket/histogram/histogram.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ impl SegmentHistogramCollector {
330330
) -> crate::Result<IntermediateBucketResult> {
331331
let mut buckets = Vec::with_capacity(self.buckets.len());
332332

333-
for (bucket_pos, bucket) in self.buckets.into_iter() {
333+
for (bucket_pos, bucket) in self.buckets {
334334
let bucket_res = bucket.into_intermediate_bucket_entry(
335335
self.sub_aggregations.get(&bucket_pos).cloned(),
336336
&agg_with_accessor.sub_aggregation,

0 commit comments

Comments
 (0)