Revert "fixed rust 1.74 new clippy lints"

This reverts commit 873a23398f.
This commit is contained in:
Giuliano Bellini s294739
2023-11-29 09:58:10 +01:00
parent e57fb4f04f
commit cb0c1e8194
2 changed files with 2 additions and 2 deletions

View File

Binary file not shown.

View File

@@ -3,8 +3,8 @@
/// Parse CLI arguments, and exit if `--help`, `--version`, or an
/// unknown argument was supplied
pub fn parse_cli_args() {
let mut args = std::env::args().skip(1);
if let Some(arg) = args.next() {
let args = std::env::args().skip(1);
for arg in args {
match arg.as_str() {
"--help" | "-h" => print_help(),
"--version" | "-v" => print_version(),