From 18513fa024966c241e433d10c5cd119569adb048 Mon Sep 17 00:00:00 2001 From: Alexey Orlenko Date: Fri, 1 Dec 2023 17:05:46 +0100 Subject: [PATCH] Revert "Remove unnecessary type annotation" This reverts commit d56319a1e245bf97b6c41c78fbe2a6276dd904d4. --- query-engine/query-structure/src/selection_result.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/query-engine/query-structure/src/selection_result.rs b/query-engine/query-structure/src/selection_result.rs index b9913dd2a675..10e3f5c2211b 100644 --- a/query-engine/query-structure/src/selection_result.rs +++ b/query-engine/query-structure/src/selection_result.rs @@ -77,7 +77,7 @@ impl SelectionResult { /// Projects this `SelectionResult` into a smaller or equal `SelectionResult` /// according to the provided [`FieldSelection`]. pub fn project(&self, field_selection: &FieldSelection) -> SelectionResult { - let pairs = field_selection + let pairs: Vec<_> = field_selection .selections() .map(|selected_field| { self.get(selected_field)