Skip to content

Commit

Permalink
style(misspell): Collapae case
Browse files Browse the repository at this point in the history
  • Loading branch information
Ed Page committed Oct 29, 2019
1 parent cec3ad0 commit 2e95e5e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dict/misspell/codegen/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 2e95e5e

Please sign in to comment.