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

@@ -9,10 +9,7 @@ fn main() -> Result<()> {
unsafe {
db.load_extension_enable()?;
db.load_extension(
format!(
"target/debug/examples/{}loadable_extension{}",
DLL_PREFIX, DLL_SUFFIX
),
format!("target/debug/examples/{DLL_PREFIX}loadable_extension{DLL_SUFFIX}"),
None,
)?;
db.load_extension_disable()?;