clippy::uninlined_format_args

This commit is contained in:
gwenn
2024-08-10 14:53:25 +02:00
parent f2ee7018ef
commit 000278b9a2
4 changed files with 6 additions and 9 deletions

View File

@@ -631,7 +631,7 @@ mod tests {
)?;
let mut rows = stmt.query([])?;
let row = rows.next()?.unwrap();
let s = format!("{:?}", row);
let s = format!("{row:?}");
assert_eq!(
s,
r#"{"name": (Text, "Lisa"), "id": (Integer, 1), "pi": (Real, 3.14), "blob": (Blob, 6), "void": (Null, ())}"#