Chore: Inline format args for ease of reading
A minor cleanup to inline all simple cases of format arguments. Makes the format strings just a bit easier to read.
This commit is contained in:
parent
4613eb26cb
commit
3d6b9637c3
13 changed files with 25 additions and 30 deletions
|
|
@ -105,8 +105,8 @@ impl Application for Example {
|
|||
ByteSize::kb(information.memory_total).to_string();
|
||||
|
||||
let memory_total = text(format!(
|
||||
"Memory (total): {} kb ({})",
|
||||
information.memory_total, memory_readable
|
||||
"Memory (total): {} kb ({memory_readable})",
|
||||
information.memory_total,
|
||||
));
|
||||
|
||||
let memory_text = if let Some(memory_used) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue