style: Clippy

This commit is contained in:
Ed Page 2021-04-06 10:15:14 -05:00
parent 8f365ee155
commit aa21439502
2 changed files with 2 additions and 5 deletions

View file

@ -141,7 +141,6 @@ impl FileArgs {
locale: self.locale,
..Default::default()
}),
..Default::default()
}
}
@ -241,7 +240,6 @@ impl WalkArgs {
ignore_vcs: self.ignore_vcs(),
ignore_global: self.ignore_global(),
ignore_parent: self.ignore_parent(),
..Default::default()
}
}

View file

@ -208,14 +208,13 @@ impl<'s> ConfigEngine<'s> {
let dict = self.dict.intern(dict);
let tokenizer = self.tokenizer.intern(tokenizer);
let file = FileConfig {
FileConfig {
check_filenames: check_filename,
check_files: check_file,
binary,
tokenizer,
dict,
};
file
}
}
}