Skip to content

Commit

Permalink
style: Clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Apr 6, 2021
1 parent 8f365ee commit aa21439
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions src/args.rs
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,6 @@ impl FileArgs {
locale: self.locale,
..Default::default()
}),
..Default::default()
}
}

Expand Down Expand Up @@ -241,7 +240,6 @@ impl WalkArgs {
ignore_vcs: self.ignore_vcs(),
ignore_global: self.ignore_global(),
ignore_parent: self.ignore_parent(),
..Default::default()
}
}

Expand Down
5 changes: 2 additions & 3 deletions src/policy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}

Expand Down

0 comments on commit aa21439

Please sign in to comment.