Run cargo fix

This commit is contained in:
Aleksey Kladov 2018-10-15 19:55:32 +03:00
parent 6605dbaff3
commit 171c176833
24 changed files with 44 additions and 44 deletions

View file

@ -8,7 +8,7 @@
//! `start node`, `finish node`, and `FileBuilder` converts
//! this stream to a real tree.
use std::mem;
use {
use crate::{
TextUnit, TextRange, SmolStr,
lexer::Token,
parser_impl::Sink,

View file

@ -1,4 +1,4 @@
use {lexer::Token, SyntaxKind, SyntaxKind::EOF, TextRange, TextUnit};
use crate::{lexer::Token, SyntaxKind, SyntaxKind::EOF, TextRange, TextUnit};
use std::ops::{Add, AddAssign};

View file

@ -3,7 +3,7 @@ mod input;
use std::cell::Cell;
use {
use crate::{
TextUnit, SmolStr,
lexer::Token,
parser_api::Parser,
@ -13,7 +13,7 @@ use {
},
};
use SyntaxKind::{self, EOF, TOMBSTONE};
use crate::SyntaxKind::{self, EOF, TOMBSTONE};
pub(crate) trait Sink {
type Tree;