Skip to content

Commit 0d45ef1

Browse files
committed
Fixup after rebase
1 parent e186090 commit 0d45ef1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

librubyfmt/src/render_targets.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ impl<'src> ConditionalLayoutEntry<'src> {
587587
};
588588
tokens
589589
.iter()
590-
.rposition(|v| v.is_newline() || v.is_comment())
590+
.rposition(|v| v.is_newline() || v.is_indent())
591591
.map(|x| {
592592
let token = &tokens[x];
593593
if matches!(token, AbstractLineToken::CollapsingNewLine(_))

0 commit comments

Comments
 (0)