check not empty instead of len > 0

This commit is contained in:
Bennet Bleßmann
2025-07-31 21:38:48 +02:00
committed by Bennet Bleßmann
parent fae5e13bd5
commit 73cc872b50

View File

@@ -251,7 +251,7 @@ impl DebrayAllocator {
}
}
if self.branch_stack.len() > 0 {
if !self.branch_stack.is_empty() {
for var_num in subsumed_hits {
self.branch_stack.add_branch_occurrence(var_num);
}