Skip to content

Commit

Permalink
clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
alamb committed Oct 5, 2022
1 parent e3830a7 commit f6e8ffa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datafusion/optimizer/src/unwrap_cast_in_comparison.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ fn add_alias_if_changed(original_name: &str, expr: Expr) -> Result<Expr> {
nulls_first,
}
}
expr => expr.alias(&original_name),
expr => expr.alias(original_name),
})
}

Expand Down

0 comments on commit f6e8ffa

Please sign in to comment.