mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-04 14:28:22 +00:00
fix new rust 1.87 cargo clippy warnings (#1856)
This commit is contained in:
parent
ae587dcbec
commit
e7bf186e44
4 changed files with 14 additions and 10 deletions
|
@ -14346,7 +14346,7 @@ fn test_visit_order() {
|
|||
let sql = "SELECT CASE a WHEN 1 THEN 2 WHEN 3 THEN 4 ELSE 5 END";
|
||||
let stmt = verified_stmt(sql);
|
||||
let mut visited = vec![];
|
||||
sqlparser::ast::visit_expressions(&stmt, |expr| {
|
||||
let _ = sqlparser::ast::visit_expressions(&stmt, |expr| {
|
||||
visited.push(expr.to_string());
|
||||
core::ops::ControlFlow::<()>::Continue(())
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue