From d2f9fc8e7887a7e202a9be5512b03e2a56639d68 Mon Sep 17 00:00:00 2001 From: ConnorSkees <39542938+ConnorSkees@users.noreply.github.com> Date: Mon, 6 Jan 2020 17:06:37 -0500 Subject: [PATCH] Reformat imports --- src/main.rs | 7 ++----- src/selector.rs | 6 ++---- src/style.rs | 6 +++--- 3 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/main.rs b/src/main.rs index b96809b..91f85f1 100644 --- a/src/main.rs +++ b/src/main.rs @@ -24,13 +24,10 @@ clippy::missing_errors_doc )] use std::collections::HashMap; +use std::fmt::{self, Display}; use std::fs; use std::io; -use std::iter::Iterator; -use std::{ - fmt::{self, Display}, - iter::Peekable, -}; +use std::iter::{Iterator, Peekable}; use crate::common::{Keyword, Op, Pos, Symbol, Whitespace}; use crate::css::Css; diff --git a/src/selector.rs b/src/selector.rs index 14ac2dc..b8fc4d6 100644 --- a/src/selector.rs +++ b/src/selector.rs @@ -1,10 +1,8 @@ use crate::common::Symbol; use crate::{Token, TokenKind}; use std::iter::Peekable; -use std::{ - fmt::{self, Display}, - slice::Iter, -}; +use std::slice::Iter; +use std::fmt::{self, Display}; #[derive(Clone, Debug, Eq, PartialEq)] pub enum Selector { diff --git a/src/style.rs b/src/style.rs index 085e877..69643a1 100644 --- a/src/style.rs +++ b/src/style.rs @@ -1,9 +1,9 @@ -use crate::{Token, TokenKind}; use crate::common::Symbol; -use std::fmt::{self, Display}; +use crate::{Token, TokenKind}; use std::collections::HashMap; -use std::slice::Iter; +use std::fmt::{self, Display}; use std::iter::Peekable; +use std::slice::Iter; #[derive(Clone, Debug, Eq, PartialEq)] pub struct Style {