diff options
Diffstat (limited to 'examples/system_information/src')
-rw-r--r-- | examples/system_information/src/main.rs | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/examples/system_information/src/main.rs b/examples/system_information/src/main.rs index cd4d9cb3..cae764dc 100644 --- a/examples/system_information/src/main.rs +++ b/examples/system_information/src/main.rs @@ -108,15 +108,11 @@ impl Example { let memory_used = text!("Memory (used): {memory_text}"); - let graphics_adapter = text!( - "Graphics adapter: {}", - information.graphics_adapter - ); + let graphics_adapter = + text!("Graphics adapter: {}", information.graphics_adapter); - let graphics_backend = text!( - "Graphics backend: {}", - information.graphics_backend - ); + let graphics_backend = + text!("Graphics backend: {}", information.graphics_backend); column![ system_name.size(30), |