Reformat imports

This commit is contained in:
ConnorSkees 2020-01-06 17:06:37 -05:00
parent ebdb4baf8f
commit d2f9fc8e78
3 changed files with 7 additions and 12 deletions

View File

@ -24,13 +24,10 @@
clippy::missing_errors_doc clippy::missing_errors_doc
)] )]
use std::collections::HashMap; use std::collections::HashMap;
use std::fmt::{self, Display};
use std::fs; use std::fs;
use std::io; use std::io;
use std::iter::Iterator; use std::iter::{Iterator, Peekable};
use std::{
fmt::{self, Display},
iter::Peekable,
};
use crate::common::{Keyword, Op, Pos, Symbol, Whitespace}; use crate::common::{Keyword, Op, Pos, Symbol, Whitespace};
use crate::css::Css; use crate::css::Css;

View File

@ -1,10 +1,8 @@
use crate::common::Symbol; use crate::common::Symbol;
use crate::{Token, TokenKind}; use crate::{Token, TokenKind};
use std::iter::Peekable; use std::iter::Peekable;
use std::{ use std::slice::Iter;
fmt::{self, Display}, use std::fmt::{self, Display};
slice::Iter,
};
#[derive(Clone, Debug, Eq, PartialEq)] #[derive(Clone, Debug, Eq, PartialEq)]
pub enum Selector { pub enum Selector {

View File

@ -1,9 +1,9 @@
use crate::{Token, TokenKind};
use crate::common::Symbol; use crate::common::Symbol;
use std::fmt::{self, Display}; use crate::{Token, TokenKind};
use std::collections::HashMap; use std::collections::HashMap;
use std::slice::Iter; use std::fmt::{self, Display};
use std::iter::Peekable; use std::iter::Peekable;
use std::slice::Iter;
#[derive(Clone, Debug, Eq, PartialEq)] #[derive(Clone, Debug, Eq, PartialEq)]
pub struct Style { pub struct Style {