-
Notifications
You must be signed in to change notification settings - Fork 12.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
tests: remove some trailing ws #124398
tests: remove some trailing ws #124398
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
@rustbot author Blessing clippy & rustfmt |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
@rustbot ready |
} | ||
_ => { | ||
buffer.puts(*row_num, max_line_num_len + 1, "~ ", Style::Addition); | ||
} | ||
} | ||
buffer.append(*row_num, &normalize_whitespace(line_to_add), Style::NoStyle); | ||
buffer.puts( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's the difference here (specifically, why do we need + 3
)? Would be worth adding comments explaining a lot of the logic for the + N
s in this function.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added explanation for that changed part.
@rustbot author |
@rustbot ready |
@bors r+ |
tests: remove some trailing ws Cleans one more case of trailing whitespace in tests.
☀️ Test successful - checks-actions |
Finished benchmarking commit (74a8df6): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 672.242s -> 674.628s (0.35%) |
tests: remove some trailing ws Cleans one more case of trailing whitespace in tests.
Cleans one more case of trailing whitespace in tests.