Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
wsdjeg committed Mar 16, 2020
1 parent 8862936 commit 5a0d5a7
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,12 @@ fn main() {
}
println!(
"{}\t{}\t/^{}$/;\"\t{}\tline:{}\t{}",
title, canonicalize(path), line, item_type as char, line_no, scope.as_str()
title,
canonicalize(path),
line,
item_type as char,
line_no,
scope.as_str()
);
}
}
Expand All @@ -90,9 +95,9 @@ impl Line {
fn is_head(line: &str) -> bool {
if line.starts_with("# ") {
true
}else if line.starts_with("## ") {
} else if line.starts_with("## ") {
true
}else{
} else {
false
}
}
Expand Down

0 comments on commit 5a0d5a7

Please sign in to comment.