Skip to content

Commit

Permalink
fixed rust 1.74 new clippy lints
Browse files Browse the repository at this point in the history
  • Loading branch information
GyulyVGC committed Nov 20, 2023
1 parent a90ce99 commit 873a233
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified resources/thesis.pdf
Binary file not shown.
4 changes: 2 additions & 2 deletions src/cli/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ use crate::utils::formatted_strings::APP_VERSION;
/// Parse CLI arguments, and exit if `--help`, `--version`, or an
/// unknown argument was supplied
pub fn parse_cli_args() {
let args = std::env::args().skip(1);
for arg in args {
let mut args = std::env::args().skip(1);
if let Some(arg) = args.next() {
match arg.as_str() {
"--help" | "-h" => print_help(),
"--version" | "-v" => print_version(),
Expand Down

0 comments on commit 873a233

Please sign in to comment.