mirror of
https://github.com/aljazceru/notedeck.git
synced 2025-12-18 17:14:21 +01:00
args: skip creation of vec
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user