diff --git a/src/aggregation/intermediate_agg_result.rs b/src/aggregation/intermediate_agg_result.rs index 8e03ad15a..b6b38bfde 100644 --- a/src/aggregation/intermediate_agg_result.rs +++ b/src/aggregation/intermediate_agg_result.rs @@ -36,10 +36,7 @@ pub struct IntermediateAggregationResults { impl IntermediateAggregationResults { /// Convert intermediate result and its aggregation request to the final result. - pub(crate) fn into_final_bucket_result( - self, - req: Aggregations, - ) -> crate::Result { + pub fn into_final_bucket_result(self, req: Aggregations) -> crate::Result { self.into_final_bucket_result_internal(&(req.into())) }