Skip to content

Commit 131df73

Browse files
committed
remove unnecessary variable
1 parent c1ac94e commit 131df73

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/main.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ fn main() {
7777
Err(_) => gio::Resource::load(config::RESOURCES_FILE)
7878
.unwrap_or_else(|_| panic!("Unable to load {}", config::RESOURCES_FILE)),
7979
Ok(_) => match env::current_exe() {
80-
Ok(path) => {
81-
let mut resource_path = path;
82-
80+
Ok(mut resource_path) => {
8381
for _ in 0..2 {
8482
resource_path.pop();
8583
}

0 commit comments

Comments
 (0)