style(misspell): Collapae case

This commit is contained in:
Ed Page 2019-10-29 08:07:27 -06:00
parent cec3ad07f1
commit 2e95e5e1f6

View file

@ -21,9 +21,7 @@ fn parse_dict(raw: &str) -> Words {
let mut current = &mut bad;
for line in raw.lines() {
let line = line.splitn(2, "//").next().unwrap().trim();
if line.is_empty() {
continue;
} else if line.starts_with("package") {
if line.is_empty() || line.starts_with("package") {
continue;
} else if line.contains("DictMain") {
current = &mut main;