Skip to content

Commit

Permalink
fix: fix closing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
null8626 authored Feb 2, 2024
1 parent 5da5513 commit 4f31b58
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/util/md.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,7 @@ impl MarkdownTable {
let cols = col_lengths
.iter()
.enumerate()
.map(|(idx, width)| {
format!("{:width$}", self.headers[idx]))
})
.map(|(idx, width)| format!("{:width$}", self.headers[idx]))
.collect::<Vec<_>>();

format!("| {} |", cols.join(" | "))
Expand Down

0 comments on commit 4f31b58

Please sign in to comment.