mirror of
https://github.com/sharkdp/fd
synced 2024-11-05 16:58:21 +00:00
Fix clippy lints
This commit is contained in:
parent
0aee9b0fd9
commit
f27332ee8d
1 changed files with 6 additions and 6 deletions
|
@ -202,12 +202,12 @@ impl CommandTemplate {
|
|||
cmd.arg(arg.generate(&input, path_separator));
|
||||
}
|
||||
|
||||
execute_command(cmd, &out_perm, buffer_output)
|
||||
execute_command(cmd, out_perm, buffer_output)
|
||||
}
|
||||
|
||||
fn generate_and_execute_batch(
|
||||
&self,
|
||||
paths: &Vec<PathBuf>,
|
||||
paths: &[PathBuf],
|
||||
path_separator: Option<&str>,
|
||||
buffer_output: bool,
|
||||
) -> ExitCode {
|
||||
|
@ -459,10 +459,10 @@ mod tests {
|
|||
CommandSet::new_batch(vec![vec!["echo", "{.}"]], None).unwrap(),
|
||||
CommandSet {
|
||||
commands: vec![CommandTemplate {
|
||||
args: vec![
|
||||
ArgumentTemplate::Text("echo".into()),
|
||||
ArgumentTemplate::Tokens(vec![Token::NoExt]),
|
||||
],
|
||||
args: vec![
|
||||
ArgumentTemplate::Text("echo".into()),
|
||||
ArgumentTemplate::Tokens(vec![Token::NoExt]),
|
||||
],
|
||||
}],
|
||||
mode: ExecutionMode::Batch,
|
||||
path_separator: None,
|
||||
|
|
Loading…
Reference in a new issue