fix/literalset: don't split set on empty line
@@ -35,13 +35,6 @@ impl LiteralSet {
);
return Err(literal);
}
- if let Some(last) = self.literals.last() {
- // if the last literal is an empty line, the current one is not adjacent since
- // it should be handled on its own
- if last.len_in_chars() < 1 && last.variant() == CommentVariant::TripleSlash {
- return Err(literal);
- }
- }
let previous_line = literal.span().end.line;
if previous_line == self.coverage.1 + 1 {
self.coverage.1 += 1;
