Inline format arguments

This feature has been stable since Rust 1.58.0.
This commit is contained in:
link2xt
2023-01-30 11:50:11 +03:00
parent c911f1262a
commit fcf73165ed
58 changed files with 357 additions and 435 deletions
+1 -1
View File
@@ -143,7 +143,7 @@ impl Accounts {
let ctx = self
.accounts
.remove(&id)
.with_context(|| format!("no account with id {}", id))?;
.with_context(|| format!("no account with id {id}"))?;
ctx.stop_io().await;
drop(ctx);