diff options
Diffstat (limited to 'crates/rebel-lang/src/scope.rs')
-rw-r--r-- | crates/rebel-lang/src/scope.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/rebel-lang/src/scope.rs b/crates/rebel-lang/src/scope.rs index 1d574b3..420c88f 100644 --- a/crates/rebel-lang/src/scope.rs +++ b/crates/rebel-lang/src/scope.rs @@ -15,7 +15,7 @@ pub struct Context { } impl Context { - pub fn run(&mut self, stmt: &ast::BodyStmt) -> value::Result<Value> { + pub fn execute(&mut self, stmt: &ast::BodyStmt) -> value::Result<Value> { match stmt { ast::BodyStmt::Assign { dest, expr } => { let value = Value::eval(self, expr)?; |