mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-31 19:27:21 +00:00
Fix the clippy assert!(false)
lint
https://rust-lang.github.io/rust-clippy/master/index.html#assertions_on_constants While I don't feel it's valid, fixing it lets us act on the other, more useful, lints.
This commit is contained in:
parent
a3a8626e6b
commit
dee30aabe0
3 changed files with 17 additions and 19 deletions
|
@ -14,6 +14,6 @@ fn parse_simple_select() {
|
|||
}) => {
|
||||
assert_eq!(3, projection.len());
|
||||
}
|
||||
_ => assert!(false),
|
||||
_ => unreachable!(),
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue