Merge pull request #1435 from iliekturtles/line-length
Do not count `\r` as part of line width.
This commit is contained in:
commit
f63815ee95
1 changed files with 0 additions and 1 deletions
|
@ -481,7 +481,6 @@ fn format_lines(text: &mut StringBuffer, name: &str, config: &Config, report: &m
|
|||
|
||||
for (c, b) in text.chars() {
|
||||
if c == '\r' {
|
||||
line_len += c.len_utf8();
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue