mirror of
https://github.com/crate-ci/typos.git
synced 2026-10-20 02:26:17 +02:00
style: Address clippy
This commit is contained in:
1 parent
8a8007d353
commit
dc327e0d51
3 files changed
+5
-8
No files matched your search
@@ -9,7 +9,7 @@ fn parse_dict(raw: &str) -> impl Iterator<Item = (&str, Vec<&str>)> {
|
||||
let corrections = parts
|
||||
.next()
|
||||
.unwrap()
|
||||
.split(",")
|
||||
.split(',')
|
||||
.filter_map(|c| {
|
||||
let c = c.trim();
|
||||
if c.is_empty() {
|
||||
@@ -49,7 +49,6 @@ fn generate<W: std::io::Write>(file: &mut W) {
|
||||
let codegenned = builder.build();
|
||||
writeln!(file, "{}", codegenned).unwrap();
|
||||
writeln!(file, ";").unwrap();
|
||||
writeln!(file, "").unwrap();
|
||||
}
|
||||
|
||||
#[derive(Debug, StructOpt)]
|
||||
|
||||
Reference in new issue
Block a user