Fix implementation order.

This commit is contained in:
Sebastian Schmidt 2023-05-27 12:21:45 +03:00
parent f527c941d2
commit db95723f8e

View File

@ -198,14 +198,14 @@ impl Context for HashMapContext {
} }
} }
fn are_builtin_functions_disabled(&self) -> bool {
self.without_builtin_functions
}
fn set_builtin_functions_disabled(&mut self, disabled: bool) -> EvalexprResult<()> { fn set_builtin_functions_disabled(&mut self, disabled: bool) -> EvalexprResult<()> {
self.without_builtin_functions = disabled; self.without_builtin_functions = disabled;
Ok(()) Ok(())
} }
fn are_builtin_functions_disabled(&self) -> bool {
self.without_builtin_functions
}
} }
impl ContextWithMutableVariables for HashMapContext { impl ContextWithMutableVariables for HashMapContext {