Skip to content

Commit

Permalink
chore(lint): stop using Result::cloned() (unstable in 1.56.0
Browse files Browse the repository at this point in the history
  • Loading branch information
laysakura committed May 11, 2022
1 parent 71dddbe commit f124810
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -45,15 +45,15 @@ impl ProjectionSubtask {
.exprs
.iter()
.map(|label| {
match label {
let value = match label {
ExprLabel::Value(group_by_value_label) => {
aggregated_and_grouping_values.get_group_by_value(group_by_value_label)
}
ExprLabel::Aggr(aggr_label) => {
aggregated_and_grouping_values.get_aggregated_value(aggr_label)
}
}
.cloned()
}?;
Ok(value.clone())
})
.collect::<Result<Vec<_>>>()?;

Expand Down

0 comments on commit f124810

Please sign in to comment.