Reorder imports

This commit is contained in:
Pyfisch 2018-11-06 20:38:02 +01:00
parent 4a947dd719
commit 9e92eb205a
546 changed files with 1968 additions and 1536 deletions

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use script::test::{ByteString, normalize_value};
use script::test::{normalize_value, ByteString};
#[test]
fn test_normalize_empty_bytestring() {

View file

@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use script::test::srcset::{Descriptor, ImageSource, parse_a_srcset_attribute};
use script::test::srcset::{parse_a_srcset_attribute, Descriptor, ImageSource};
#[test]
fn no_value() {

View file

@ -10,7 +10,7 @@
use keyboard_types::{Key, Modifiers};
use script::clipboard_provider::DummyClipboardContext;
use script::test::DOMString;
use script::textinput::{TextInput, TextPoint, Selection, Lines, Direction, SelectionDirection};
use script::textinput::{Direction, Lines, Selection, SelectionDirection, TextInput, TextPoint};
fn text_input(lines: Lines, s: &str) -> TextInput<DummyClipboardContext> {
TextInput::new(