Skip to content

Commit 04d0ec2

Browse files
committed
Updated src/bin/main.rs:
- Updated reuse copyright year - Added clearer import headers - Updated to properly show app exit code Signed-off-by: Deren Vural <35734401+derenv@users.noreply.github.com>
1 parent a91d7a4 commit 04d0ec2

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

src/bin/main.rs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// SPDX-FileCopyrightText: 2022 Deren Vural
1+
// SPDX-FileCopyrightText: 2024 Deren Vural
22
// SPDX-License-Identifier: GPL-3.0-or-later
33

44
/**
@@ -21,7 +21,13 @@
2121
extern crate gtk4_nvidia_monitor_rust;
2222

2323
// Imports
24-
use adwaita::{prelude::ApplicationExtManual, Application};
24+
// std
25+
//
26+
// gtk-rs
27+
use adwaita::{
28+
prelude::ApplicationExtManual,
29+
Application
30+
};
2531

2632
/**
2733
* Name:
@@ -44,5 +50,5 @@ fn main() {
4450
let app: Application = gtk4_nvidia_monitor_rust::create_app();
4551

4652
// Run the application
47-
println!("{}", app.run());
53+
println!("{:?}", app.run());
4854
}

0 commit comments

Comments
 (0)