diff options
author | Brandon Fairchild <csbit32@gmail.com> | 2015-09-01 16:30:42 -0400 |
---|---|---|
committer | Brandon Fairchild <csbit32@gmail.com> | 2015-09-01 16:30:42 -0400 |
commit | d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4 (patch) | |
tree | 9153de85fe418319e039bb3ad66ae1037233a72e /components/script/textinput.rs | |
parent | 24bc6dfb52d1864754230088e70f7aeeb03403dd (diff) | |
download | servo-d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4.tar.gz servo-d61a6e2161bbce5182a5e1b9c504c55d5b2aa2f4.zip |
Fix reported test-tidy errors
This fixes lines that were reported to have missing
space after a comma.
Diffstat (limited to 'components/script/textinput.rs')
-rw-r--r-- | components/script/textinput.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/script/textinput.rs b/components/script/textinput.rs index c647f63d4d8..8330b19f01f 100644 --- a/components/script/textinput.rs +++ b/components/script/textinput.rs @@ -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); } |