style: Address clippy

This commit is contained in:
Ed Page committed 2019-10-28 16:27:18 -06:00
1 parent 8a8007d353
commit dc327e0d51
3 files changed
+5 -8

No files matched your search

+1 -2
View File
@@ -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)]