We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdf0a0b commit ae94bf2Copy full SHA for ae94bf2
src/aggregation/bucket/histogram/histogram.rs
@@ -330,7 +330,7 @@ impl SegmentHistogramCollector {
330
) -> crate::Result<IntermediateBucketResult> {
331
let mut buckets = Vec::with_capacity(self.buckets.len());
332
333
- for (bucket_pos, bucket) in self.buckets.into_iter() {
+ for (bucket_pos, bucket) in self.buckets {
334
let bucket_res = bucket.into_intermediate_bucket_entry(
335
self.sub_aggregations.get(&bucket_pos).cloned(),
336
&agg_with_accessor.sub_aggregation,
0 commit comments