Fix implementation order.
This commit is contained in:
parent
f527c941d2
commit
db95723f8e
@ -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<()> {
|
||||
self.without_builtin_functions = disabled;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn are_builtin_functions_disabled(&self) -> bool {
|
||||
self.without_builtin_functions
|
||||
}
|
||||
}
|
||||
|
||||
impl ContextWithMutableVariables for HashMapContext {
|
||||
|
Loading…
Reference in New Issue
Block a user