diff options
Diffstat (limited to 'src/eval/mod.rs')
| -rw-r--r-- | src/eval/mod.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/eval/mod.rs b/src/eval/mod.rs index f19e4305..8790bc18 100644 --- a/src/eval/mod.rs +++ b/src/eval/mod.rs @@ -652,7 +652,7 @@ impl Eval for ast::MathIdent { type Output = Value; fn eval(&self, vm: &mut Vm) -> SourceResult<Self::Output> { - Ok(vm.scopes.get_in_math(self).cloned().at(self.span())?) + vm.scopes.get_in_math(self).cloned().at(self.span()) } } @@ -700,7 +700,7 @@ impl Eval for ast::Ident { type Output = Value; fn eval(&self, vm: &mut Vm) -> SourceResult<Self::Output> { - Ok(vm.scopes.get(self).cloned().at(self.span())?) + vm.scopes.get(self).cloned().at(self.span()) } } |
