Skip to content

Commit 5bf59e2

Browse files
committed
fix clippy warning
1 parent d48163a commit 5bf59e2

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/value_converter/models/serde_value.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ impl<'a> FromSql<'a> for InternalSerdeValue {
6060
fn serde_value_from_list(_gil: Python<'_>, bind_value: &Bound<'_, PyAny>) -> PSQLPyResult<Value> {
6161
let py_list = bind_value.downcast::<PyList>().map_err(|e| {
6262
RustPSQLDriverError::PyToRustValueConversionError(format!(
63-
"Parameter must be a list, but it's not: {}",
64-
e
63+
"Parameter must be a list, but it's not: {e}"
6564
))
6665
})?;
6766

0 commit comments

Comments
 (0)