1
Fork 0

diagnostics: fix trailing space

This commit is contained in:
klensy 2022-06-08 20:34:57 +03:00
parent d40f24e956
commit 0ff8ae3111
151 changed files with 484 additions and 484 deletions

View file

@ -1920,7 +1920,7 @@ impl EmitterWriter {
// Only show an underline in the suggestions if the suggestion is not the
// entirety of the code being shown and the displayed code is not multiline.
if let DisplaySuggestion::Diff | DisplaySuggestion::Underline = show_code_change {
draw_col_separator(&mut buffer, row_num, max_line_num_len + 1);
draw_col_separator_no_space(&mut buffer, row_num, max_line_num_len + 1);
for part in parts {
let span_start_pos = sm.lookup_char_pos(part.span.lo()).col_display;
let span_end_pos = sm.lookup_char_pos(part.span.hi()).col_display;