Add StateResult type

This commit is contained in:
Eryn Wells 2016-12-27 10:47:18 -07:00
parent 77c3df99c0
commit f7e990925c

View file

@ -18,6 +18,8 @@ use self::str::RelativeIndexable;
use self::token::Lex;
use self::token::Token;
type StateResult = Result<Option<Token>, String>;
#[derive(Debug)]
enum State {
Comment,