mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-07-25 05:20:42 +00:00
Resolve uninlined_format_args clippy warnings
The upcomming release of Rust 1.67.0 will warn on `uninlined_format_args`. This PR resolves that by inlining all these items. It also looks nicer.
This commit is contained in:
parent
25c401f64d
commit
e935989fee
16 changed files with 55 additions and 55 deletions
|
@ -1049,7 +1049,7 @@ async fn save_attachment(
|
|||
} else {
|
||||
attachment.delete(&mut conn).await.ok();
|
||||
|
||||
err!(format!("Attachment size mismatch (expected within [{}, {}], got {})", min_size, max_size, size));
|
||||
err!(format!("Attachment size mismatch (expected within [{min_size}, {max_size}], got {size})"));
|
||||
}
|
||||
} else {
|
||||
// Legacy API
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue