This commit is contained in:
Artemy 2022-08-11 17:26:14 +03:00
commit b9dbc1c82e

View file

@ -14,8 +14,8 @@ pub struct Interpreter {
} }
impl Interpreter { impl Interpreter {
pub fn new(input: String) -> Interpreter { pub fn new(input: String) -> Self {
Interpreter { Self {
input, input,
vars: HashMap::new(), vars: HashMap::new(),
pos: 1, pos: 1,