Merge pull request #23 from willfindlay/main

xtask/run: fix clippy lint
pull/25/head
Dave Tucker 3 years ago committed by GitHub
commit b0577674b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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