mirror of
https://github.com/artegoser/ONLang
synced 2024-12-22 17:13:46 +03:00
Merge branch 'master' of https://github.com/artegoser/ONLang
This commit is contained in:
commit
b9dbc1c82e
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue