xtask/run: fix clippy lint

pull/23/head
William Findlay 3 years ago
parent 292ae61bee
commit dc7eb0410f
No known key found for this signature in database
GPG Key ID: 7162B44E9E560373

@ -53,7 +53,7 @@ pub fn run(opts: Options) -> Result<(), anyhow::Error> {
let mut run_args: Vec<_> = opts.run_args.iter().map(String::as_str).collect(); let mut run_args: Vec<_> = opts.run_args.iter().map(String::as_str).collect();
// configure args // configure args
let mut args: Vec<_> = opts.runner.trim().split_terminator(" ").collect(); let mut args: Vec<_> = opts.runner.trim().split_terminator(' ').collect();
args.push(bin_path.as_str()); args.push(bin_path.as_str());
args.append(&mut run_args); args.append(&mut run_args);

Loading…
Cancel
Save