Skip to content

Clippy failed on main: consider removing unnecessary double parentheses #10722

@jonahgao

Description

@jonahgao

Describe the bug

error: consider removing unnecessary double parentheses
--> datafusion/core/src/datasource/listing/helpers.rs:789:47
|
789 | &[col("a").eq(lit("foo")).and((col("b").eq(lit("bar"))))],
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#double_parens
= note: -D clippy::double-parens implied by -D warnings
= help: to override -D warnings add #[allow(clippy::double_parens)]

To Reproduce

See the failed CI job: https://github.com/apache/datafusion/actions/runs/9304595378/job/25609720408

No response

Expected behavior

No response

Additional context

No response

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions