Skip to content

Commit 93103a4

Browse files
committed
Fix clippy warning
1 parent 57004f1 commit 93103a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

datafusion-postgres/src/sql/rules.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -787,7 +787,7 @@ impl VisitorMut for FixVersionColumnNameVisitor {
787787
if let ObjectNamePart::Identifier(part) = &f.name.0[0] {
788788
if part.value == "version" {
789789
if let FunctionArguments::List(args) = &f.args {
790-
if args.args.len() == 0 {
790+
if args.args.is_empty() {
791791
*projection = SelectItem::ExprWithAlias {
792792
expr: Expr::Function(f.clone()),
793793
alias: Ident::new("version"),

0 commit comments

Comments
 (0)