mirror of
https://github.com/servo/servo.git
synced 2025-07-23 07:13:52 +01:00
Fix reported test-tidy errors
This fixes lines that were reported to have missing space after a comma.
This commit is contained in:
parent
24bc6dfb52
commit
d61a6e2161
13 changed files with 19 additions and 19 deletions
|
@ -158,7 +158,7 @@ impl<T: ClipboardProvider> TextInput<T> {
|
|||
if begin.line != end.line {
|
||||
let mut s = String::new();
|
||||
s.push_str(&self.lines[begin.line][begin.index..]);
|
||||
for (_, line) in self.lines.iter().enumerate().filter(|&(i,_)| begin.line < i && i < end.line) {
|
||||
for (_, line) in self.lines.iter().enumerate().filter(|&(i, _)| begin.line < i && i < end.line) {
|
||||
s.push_str("\n");
|
||||
s.push_str(line);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue