mirror of
https://github.com/aljazceru/turso.git
synced 2026-02-11 19:24:21 +01:00
Clippy warning, fix needless mut refs and remove import
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use std::sync::Arc;
|
||||
|
||||
use tracing::{instrument, Level};
|
||||
use turso_parser::ast::{self, As, Expr, TableInternalId, UnaryOperator};
|
||||
use turso_parser::ast::{self, As, Expr, UnaryOperator};
|
||||
|
||||
use super::emitter::Resolver;
|
||||
use super::optimizer::Optimizable;
|
||||
|
||||
@@ -417,7 +417,7 @@ fn prepare_one_select_plan(
|
||||
bind_and_rewrite_expr(
|
||||
expr,
|
||||
Some(&mut plan.table_references),
|
||||
Some(&mut plan.result_columns),
|
||||
Some(&plan.result_columns),
|
||||
connection,
|
||||
param_ctx,
|
||||
)?;
|
||||
@@ -433,7 +433,7 @@ fn prepare_one_select_plan(
|
||||
bind_and_rewrite_expr(
|
||||
expr,
|
||||
Some(&mut plan.table_references),
|
||||
Some(&mut plan.result_columns),
|
||||
Some(&plan.result_columns),
|
||||
connection,
|
||||
param_ctx,
|
||||
)?;
|
||||
@@ -472,7 +472,7 @@ fn prepare_one_select_plan(
|
||||
bind_and_rewrite_expr(
|
||||
&mut o.expr,
|
||||
Some(&mut plan.table_references),
|
||||
Some(&mut plan.result_columns),
|
||||
Some(&plan.result_columns),
|
||||
connection,
|
||||
param_ctx,
|
||||
)?;
|
||||
|
||||
Reference in New Issue
Block a user