difftreelog
fix wrong is_empty condition
in: master
1 file changed
crates/jrsonnet-evaluator/src/obj.rsdiffbeforeafterboth680 ///680 ///681 /// Note that object with hidden fields `{a:: 1}` will be reported as empty here.681 /// Note that object with hidden fields `{a:: 1}` will be reported as empty here.682 fn is_empty(&self) -> bool {682 fn is_empty(&self) -> bool {683 self.len() != 0683 self.len() == 0684 }684 }685685686 /// Run callback for every field found in object686 /// Run callback for every field found in object