Fix: Clippy lint 'uninlined_format_args'
This commit is contained in:
parent
e6092e81a4
commit
42b1bfe66d
25 changed files with 47 additions and 54 deletions
|
|
@ -114,13 +114,12 @@ impl Application for Example {
|
|||
{
|
||||
let memory_readable = ByteSize::kb(memory_used).to_string();
|
||||
|
||||
format!("{} kb ({})", memory_used, memory_readable)
|
||||
format!("{memory_used} kb ({memory_readable})")
|
||||
} else {
|
||||
String::from("None")
|
||||
};
|
||||
|
||||
let memory_used =
|
||||
text(format!("Memory (used): {}", memory_text));
|
||||
let memory_used = text(format!("Memory (used): {memory_text}"));
|
||||
|
||||
let graphics_adapter = text(format!(
|
||||
"Graphics adapter: {}",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue