From 992f7552983d8f573f648f6241b04bd351732a4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Massot?= Date: Fri, 5 May 2023 10:51:29 +0200 Subject: [PATCH] Fix clippy. --- src/aggregation/bucket/histogram/date_histogram.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/aggregation/bucket/histogram/date_histogram.rs b/src/aggregation/bucket/histogram/date_histogram.rs index bc7f7fb6a..a61723c91 100644 --- a/src/aggregation/bucket/histogram/date_histogram.rs +++ b/src/aggregation/bucket/histogram/date_histogram.rs @@ -122,8 +122,8 @@ impl DateHistogramAggregationReq { .transpose()? .map(|el| el as f64), min_doc_count: self.min_doc_count, - hard_bounds: self.hard_bounds.clone(), - extended_bounds: self.extended_bounds.clone(), + hard_bounds: self.hard_bounds, + extended_bounds: self.extended_bounds, keyed: self.keyed, }) }