summaryrefslogtreecommitdiffstats
path: root/examples/system_information/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'examples/system_information/src/main.rs')
-rw-r--r--examples/system_information/src/main.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/system_information/src/main.rs b/examples/system_information/src/main.rs
index 633b6e2b..507431ee 100644
--- a/examples/system_information/src/main.rs
+++ b/examples/system_information/src/main.rs
@@ -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) =