Remove type alias

This commit is contained in:
greg 2018-08-22 18:27:38 -07:00
parent b85725125c
commit f885d5dfb6
1 changed files with 1 additions and 3 deletions

View File

@ -10,8 +10,6 @@ use ast::*;
use builtin::{BinOp, PrefixOp}; use builtin::{BinOp, PrefixOp};
type TokenIter = Peekable<IntoIter<Token>>;
#[derive(Debug)] #[derive(Debug)]
pub struct ParseError { pub struct ParseError {
pub msg: String, pub msg: String,
@ -37,7 +35,7 @@ pub struct ParseRecord {
} }
struct Parser { struct Parser {
tokens: TokenIter, tokens: Peekable<IntoIter<Token>>,
parse_record: Vec<ParseRecord>, parse_record: Vec<ParseRecord>,
parse_level: u32, parse_level: u32,
restrictions: ParserRestrictions, restrictions: ParserRestrictions,