aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/lex.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/frontend/lex.rs')
-rw-r--r--src/frontend/lex.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/frontend/lex.rs b/src/frontend/lex.rs
index 67c4ae3..f751c63 100644
--- a/src/frontend/lex.rs
+++ b/src/frontend/lex.rs
@@ -1,6 +1,7 @@
use multipeek::multipeek;
-pub type Result<T> = core::result::Result<T, Box<dyn std::error::Error>>;
+use crate::*;
+
pub struct TokenStream(Vec<Token>);
impl IntoIterator for TokenStream {