diff options
author | 2024-02-02 16:15:40 +0100 | |
---|---|---|
committer | 2024-02-02 16:15:40 +0100 | |
commit | 1049fbbb1c08f2e1348429faa6a8e6050723978e (patch) | |
tree | 31e512bb610cbe2cdcd7fbffd362f576b4926ba3 /runtime/src | |
parent | aea172543cb49f1f1e3625f60b49336f59e26c00 (diff) | |
parent | aa153d04e70101596dda0e4ee7228128cdfa39d6 (diff) | |
download | iced-1049fbbb1c08f2e1348429faa6a8e6050723978e.tar.gz iced-1049fbbb1c08f2e1348429faa6a8e6050723978e.tar.bz2 iced-1049fbbb1c08f2e1348429faa6a8e6050723978e.zip |
Merge pull request #2223 from brianch/fix-sysinfo-example
Small fix to the Information struct docs and fix memory info. in the system_information example.
Diffstat (limited to '')
-rw-r--r-- | runtime/src/system/information.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/src/system/information.rs b/runtime/src/system/information.rs index 93e7a5a4..0f78f5e9 100644 --- a/runtime/src/system/information.rs +++ b/runtime/src/system/information.rs @@ -18,9 +18,9 @@ pub struct Information { pub cpu_brand: String, /// The number of physical cores on the processor pub cpu_cores: Option<usize>, - /// Total RAM size, KB + /// Total RAM size, in bytes pub memory_total: u64, - /// Memory used by this process, KB + /// Memory used by this process, in bytes pub memory_used: Option<u64>, /// Underlying graphics backend for rendering pub graphics_backend: String, |