mirror of
https://github.com/apache/datafusion-sqlparser-rs.git
synced 2025-08-31 03:07:20 +00:00
Apply suggestions from cargo fix --edition-idioms
This commit is contained in:
parent
b12a19e197
commit
0634ec4a83
3 changed files with 11 additions and 11 deletions
|
@ -1070,7 +1070,7 @@ fn parse_sql_expr(sql: &str) -> ASTNode {
|
|||
generic_ast
|
||||
}
|
||||
|
||||
fn parse_sql_expr_with(dialect: &Dialect, sql: &str) -> ASTNode {
|
||||
fn parse_sql_expr_with(dialect: &dyn Dialect, sql: &str) -> ASTNode {
|
||||
let mut tokenizer = Tokenizer::new(dialect, &sql);
|
||||
let tokens = tokenizer.tokenize().unwrap();
|
||||
let mut parser = Parser::new(tokens);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue