From 9a2ee7ee929b67da8a6c7a8264901f1b2269ec03 Mon Sep 17 00:00:00 2001 From: Jeron Aldaron Lau <aldaronlau@gmail.com> Date: Tue, 14 Nov 2023 23:33:59 -0600 Subject: [PATCH] Add commas to `format!()` calls --- examples/web/src/lib.rs | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/examples/web/src/lib.rs b/examples/web/src/lib.rs index 6fc661f..c6310b6 100644 --- a/examples/web/src/lib.rs +++ b/examples/web/src/lib.rs @@ -18,38 +18,38 @@ pub fn main() { // Print out code from regular example. log(format!( "User's Name whoami::realname(): {}", - whoami::realname() + whoami::realname(), )); log(format!( "User's Username whoami::username(): {}", - whoami::username() + whoami::username(), )); log(format!( "User's Languages whoami::lang(): {:?}", - whoami::lang().collect::<Vec<String>>() + whoami::lang().collect::<Vec<String>>(), )); log(format!( "Device's Pretty Name whoami::devicename(): {}", - whoami::devicename() + whoami::devicename(), )); log(format!( "Device's Hostname whoami::hostname(): {}", - whoami::hostname() + whoami::hostname(), )); log(format!( "Device's Platform whoami::platform(): {}", - whoami::platform() + whoami::platform(), )); log(format!( "Device's OS Distro whoami::distro(): {}", - whoami::distro() + whoami::distro(), )); log(format!( "Device's Desktop Env. whoami::desktop_env(): {}", - whoami::desktop_env() + whoami::desktop_env(), )); log(format!( "Device's CPU Arch whoami::arch(): {}", - whoami::arch() + whoami::arch(), )); }