diff --git a/src/lexer.rs b/src/lexer.rs
index 6d852f2..553c221 100644
--- a/src/lexer.rs
+++ b/src/lexer.rs
@@ -42,14 +42,14 @@ pub enum Symbol {
}
impl Lexer {
- pub fn new(input: String) -> Lexer {
+ pub fn new(input: &str) -> Lexer {
Lexer {
input: input.chars().collect(),
pos: 0,
}
}
- pub fn next(&mut self) -> Result