fix new rust 1.87 cargo clippy warnings (#1856)

This commit is contained in:
Ophir LOJKINE 2025-05-19 13:09:00 +02:00 committed by GitHub
parent ae587dcbec
commit e7bf186e44
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 14 additions and 10 deletions

View file

@ -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(())
});