diff options
| -rw-r--r-- | src/client/client.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/client/client.rs b/src/client/client.rs index 37128b3..c833550 100644 --- a/src/client/client.rs +++ b/src/client/client.rs @@ -11,7 +11,7 @@ pub struct Client<C: Connection> { hostname: String, device_name: String, os: &'static str, - cpu_arch: String, + cpu_arch: &'static str, distro: String, desktop_env: DesktopEnv, username: String, @@ -58,7 +58,7 @@ impl<C: Connection> Client<C> { hostname: gethostname().into_string().unwrap_or_default(), device_name: whoami::devicename(), os: std::env::consts::OS, - cpu_arch: std::env::consts::ARCH.to_string(), + cpu_arch: std::env::consts::ARCH, distro: whoami::distro(), desktop_env: whoami::desktop_env(), username: whoami::username(), |
