Skip to content

Commit

Permalink
Revert "Remove unnecessary type annotation"
Browse files Browse the repository at this point in the history
This reverts commit d56319a.
  • Loading branch information
aqrln committed Dec 1, 2023
1 parent d56319a commit 18513fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query-engine/query-structure/src/selection_result.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 18513fa

Please sign in to comment.