diff options
author | Pyfisch <pyfisch@gmail.com> | 2018-11-06 13:01:35 +0100 |
---|---|---|
committer | Pyfisch <pyfisch@gmail.com> | 2018-11-06 22:30:31 +0100 |
commit | cb07debcb6f3d3561177ce536c320986720791b7 (patch) | |
tree | ccac4d5a48b3112230f3fc2e873753dd7263e9fb /components/script/textinput.rs | |
parent | bf47f90da667e95eaffc8fee36ca8a88e72e276c (diff) | |
download | servo-cb07debcb6f3d3561177ce536c320986720791b7.tar.gz servo-cb07debcb6f3d3561177ce536c320986720791b7.zip |
Format remaining files
Diffstat (limited to 'components/script/textinput.rs')
-rw-r--r-- | components/script/textinput.rs | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/components/script/textinput.rs b/components/script/textinput.rs index 87bdd1d6345..c12c277c9f2 100644 --- a/components/script/textinput.rs +++ b/components/script/textinput.rs @@ -295,9 +295,7 @@ impl<T: ClipboardProvider> TextInput<T> { fn assert_ok_selection(&self) { debug!( "edit_point: {:?}, selection_origin: {:?}, direction: {:?}", - self.edit_point, - self.selection_origin, - self.selection_direction + self.edit_point, self.selection_origin, self.selection_direction ); if let Some(begin) = self.selection_origin { debug_assert!(begin.line < self.lines.len()); @@ -532,8 +530,7 @@ impl<T: ClipboardProvider> TextInput<T> { fn update_selection_direction(&mut self) { debug!( "edit_point: {:?}, selection_origin: {:?}", - self.edit_point, - self.selection_origin + self.edit_point, self.selection_origin ); self.selection_direction = if Some(self.edit_point) < self.selection_origin { SelectionDirection::Backward |