mirror of
https://github.com/crate-ci/typos.git
synced 2024-12-23 08:02:15 -05:00
style: Clippy
This commit is contained in:
parent
8f365ee155
commit
aa21439502
2 changed files with 2 additions and 5 deletions
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue