1
Fork 0

Rollup merge of #126723 - estebank:dot-dot-dot, r=Nadrieril

Fix `...` in multline code-skips in suggestions

When we have long code skips, we write `...` in the line number gutter.

For suggestions, we were "centering" the `...` with the line, but that was inconsistent with what we do in every other case *and* off-center.
This commit is contained in:
Guillaume Gomez 2024-06-22 12:57:19 +02:00 committed by GitHub
commit 399c5cabdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
18 changed files with 21 additions and 21 deletions

View file

@ -1926,7 +1926,7 @@ impl HumanEmitter {
)
}
buffer.puts(row_num, max_line_num_len - 1, "...", Style::LineNumber);
buffer.puts(row_num, 0, "...", Style::LineNumber);
row_num += 1;
if let Some((p, l)) = last_line {