Skip to content

Commit

Permalink
chore: fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
v3g42 committed Mar 7, 2024
1 parent e78bd2b commit 9179dae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dozer-sink-clickhouse/src/types.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::redundant_closure_call)]
use crate::errors::QueryError;

use chrono_tz::{Tz, UTC};
Expand Down Expand Up @@ -294,7 +295,7 @@ pub async fn insert_multi(
NaiveDate,
column_values,
n,
|f: &NaiveDate| -> Option<NaiveDate> { Some(f.clone()) }
|f: &NaiveDate| -> Option<NaiveDate> { Some(*f) }
)
}
FieldType::Json => {
Expand Down

0 comments on commit 9179dae

Please sign in to comment.