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 {
pub fn new(input: String) -> Interpreter {
Interpreter {
pub fn new(input: String) -> Self {
Self {
input,
vars: HashMap::new(),
pos: 1,