args: skip creation of vec

Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
William Casarin
2025-02-10 16:57:50 -08:00
parent 44181e24db
commit 6fb720e0c5

View File

@@ -115,8 +115,7 @@ impl Notedeck {
setup_profiling();
// Skip the first argument, which is the program name.
let args_to_parse: Vec<String> = args[1..].to_vec();
let (parsed_args, unrecognized_args) = Args::parse(&args_to_parse);
let (parsed_args, unrecognized_args) = Args::parse(&args[1..]);
let data_path = parsed_args
.datapath