Skip to content

Commit 4a475a2

Browse files
committed
clippy
1 parent e328446 commit 4a475a2

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

crates/client-api/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ impl Host {
8585
let sql_span = tracing::trace_span!("execute_sql", total_duration = tracing::field::Empty,);
8686
let _guard = sql_span.enter();
8787

88-
let result = sql::execute::run(&db, &body, auth.clone(), Some(&module_host), auth.caller, &mut header)
88+
let result = sql::execute::run(&db, &body, auth, Some(&module_host), auth.caller, &mut header)
8989
.await
9090
.map_err(|e| {
9191
log::warn!("{e}");

crates/core/src/db/relational_db.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1526,7 +1526,7 @@ impl RelationalDB {
15261526
/// 3. Deserializing the return value from the view execution
15271527
/// 4. Inserting all rows from the return value into the view table, with the arg_id
15281528
/// set to the inserted view argument's id.
1529-
/// The `typespace` is needed for deserializing the return value.
1529+
/// The `typespace` is needed for deserializing the return value.
15301530
pub fn evaluate_view(
15311531
&self,
15321532
tx: &mut MutTxId,
@@ -1552,7 +1552,7 @@ impl RelationalDB {
15521552
st_view_row.is_anonymous,
15531553
);
15541554

1555-
let arg_id = tx.get_or_insert_st_view_arg(&args.get_bsatn())?;
1555+
let arg_id = tx.get_or_insert_st_view_arg(args.get_bsatn())?;
15561556

15571557
let input_rows = product![
15581558
if is_anonymous {

crates/core/src/host/module_host.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -440,7 +440,6 @@ pub fn create_table_from_view_def(
440440
module_def: &ModuleDef,
441441
view_def: &ViewDef,
442442
) -> anyhow::Result<()> {
443-
println!("Creating view table for view {:?}", &view_def);
444443
stdb.create_view(tx, module_def, view_def)
445444
.with_context(|| format!("failed to create table for view {}", &view_def.name))?;
446445
Ok(())

crates/core/src/host/wasm_common/module_host_actor.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -712,7 +712,7 @@ impl InstanceCommon {
712712
WORKER_METRICS
713713
.wasm_instance_errors
714714
.with_label_values(
715-
&caller_identity,
715+
caller_identity,
716716
&self.info.module_hash,
717717
&caller_connection_id.unwrap_or(ConnectionId::ZERO),
718718
reducer_name,

0 commit comments

Comments
 (0)