From db95723f8e85f8e0ad5290c5fc17a6a5c1439d4f Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Sat, 27 May 2023 12:21:45 +0300 Subject: [PATCH] Fix implementation order. --- src/context/mod.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/context/mod.rs b/src/context/mod.rs index 041f678..c2da526 100644 --- a/src/context/mod.rs +++ b/src/context/mod.rs @@ -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 {