[lexer] Obey Rust book recommendation about order of leading lines

This commit is contained in:
Eryn Wells 2018-09-01 22:21:05 -07:00
parent 0ed4aa3ae5
commit d69c3dbc31
3 changed files with 7 additions and 7 deletions

View file

@ -2,6 +2,9 @@
* Eryn Wells <eryn@erynwells.me>
*/
use std::iter::Peekable;
use states::*;
mod chars;
mod error;
mod states;
@ -10,9 +13,6 @@ mod token;
pub use error::Error;
pub use token::{Lex, Token};
use std::iter::Peekable;
use states::*;
pub type Result = std::result::Result<Lex, Error>;
pub struct Lexer<T> where T: Iterator<Item=char> {