chore: clippy::useless-borrows-in-formatting fixes

This commit is contained in:
link2xt
2026-05-10 16:26:59 +02:00
committed by l
parent 8132f32e91
commit f2f2dd42ed
18 changed files with 37 additions and 52 deletions

View File

@@ -275,7 +275,7 @@ pub unsafe extern "C" fn dc_get_config(
.strdup()
} else {
match config::Config::from_str(&key)
.with_context(|| format!("Invalid key {:?}", &key))
.with_context(|| format!("Invalid key {key:?}"))
.log_err(ctx)
{
Ok(key) => ctx