Skip to content

Commit

Permalink
fix: Another indentation fix, not my day
Browse files Browse the repository at this point in the history
  • Loading branch information
jscarrott committed Apr 21, 2023
1 parent af13413 commit ef5e07d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ fn output_summary_item(x: &SummaryItem, depth: u16) -> String {
} else {
String::new()
};
let mut s = format!("{}-[{}]({})\n", indent, link.name, loc);
let mut s = format!("{}- [{}]({})\n", indent, link.name, loc);
link.nested_items.iter().fold(s, |mut acc, x| {
acc += &output_summary_item(x, depth + 1);
acc
Expand Down

0 comments on commit ef5e07d

Please sign in to comment.