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 consistent with what we do in every other case.
This commit is contained in:
parent
3d5d7a24f7
commit
9fd7784b97
18 changed files with 21 additions and 21 deletions
|
@ -1905,7 +1905,7 @@ impl HumanEmitter {
|
|||
//
|
||||
// LL | this line was highlighted
|
||||
// LL | this line is just for context
|
||||
// ...
|
||||
// ...
|
||||
// LL | this line is just for context
|
||||
// LL | this line was highlighted
|
||||
_ => {
|
||||
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue