Skip to content

Commit 7895507

Browse files
committed
u
1 parent d287e5c commit 7895507

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/comment.rs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,11 @@ impl ItemizedBlock {
552552
/// The original line_start likely contains indentation (whitespaces), which we'd like to
553553
/// replace with '> ' characters.
554554
fn itemized_block_quote_start(line: &str, mut line_start: String, remove_indent: usize) -> String {
555-
let quote_level = line.chars().take_while(|&c| matches!(c, '>' | ' ')).filter(|&c| c == '>').count();
555+
let quote_level = line
556+
.chars()
557+
.take_while(|&c| matches!(c, '>' | ' '))
558+
.filter(|&c| c == '>')
559+
.count();
556560

557561
for _ in 0..remove_indent {
558562
line_start.pop();

0 commit comments

Comments
 (0)