Skip to content

Commit 171a004

Browse files
committed
fix error from clippy fix
1 parent 25805af commit 171a004

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dsc_lib/src/parser/expressions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ impl Expression {
111111
pub fn invoke(&self, function_dispatcher: &FunctionDispatcher, context: &Context) -> Result<Value, DscError> {
112112
let result = self.function.invoke(function_dispatcher, context)?;
113113
trace!("Function result: '{:?}'", result);
114-
if self.accessors.is_empty() {
114+
if !self.accessors.is_empty() {
115115
debug!("Evaluating accessors");
116116
let mut value = result;
117117
for accessor in &self.accessors {

0 commit comments

Comments
 (0)