Skip to content

Commit 3bfe441

Browse files
committed
Trim *all* trailing blanklines
1 parent 2cb04b1 commit 3bfe441

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/ascii_art.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@ impl<'a> AsciiArt<'a> {
1313
while let Some(line) = lines.last() {
1414
if Tokens(line).is_empty() {
1515
lines.pop();
16+
} else {
17+
break;
1618
}
17-
break;
1819
}
1920

2021
let (start, end) = lines

0 commit comments

Comments
 (0)