Skip to content

Commit

Permalink
main: Fix clippy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
philn committed Nov 8, 2020
1 parent b9021a7 commit 54b191c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Expand Up @@ -814,7 +814,7 @@ fn main() -> Result<(), Error> {
.map(|p| std::string::String::from(p.to_str().unwrap()))
.collect();

let mut args = vec![env::args().nth(0).unwrap()];
let mut args = vec![env::args().next().unwrap()];
args.extend(files);
gtk_app_clone.run(&args);

Expand Down

0 comments on commit 54b191c

Please sign in to comment.