diff options
author | 2023-09-19 13:21:50 +0200 | |
---|---|---|
committer | 2023-09-19 13:21:50 +0200 | |
commit | a4dbf0788716e8b83a9f37963ef685b765a326c6 (patch) | |
tree | 70ffb135b91c824caa37a0fe4742179088e5a638 /examples/system_information/src | |
parent | 4613eb26cba3ded83f25ebdefd01c983c79a9d59 (diff) | |
parent | 3d6b9637c3b1c9f3c654a3ecef7a247cfd6edef3 (diff) | |
download | iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.gz iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.tar.bz2 iced-a4dbf0788716e8b83a9f37963ef685b765a326c6.zip |
Merge pull request #2089 from nyurik/inlinefmt
Chore: Inline format args for ease of reading
Diffstat (limited to 'examples/system_information/src')
-rw-r--r-- | examples/system_information/src/main.rs | 4 |
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) = |