fix match/if-let can be simplified to ?

This commit is contained in:
Bennet Bleßmann
2025-07-31 21:34:15 +02:00
committed by Bennet Bleßmann
parent 495bcd73f2
commit a639fec153
2 changed files with 3 additions and 11 deletions

View File

@@ -4152,9 +4152,7 @@ impl Machine {
let mut functor_writer = Heap::functor_writer(functor);
if let Err(e) = functor_writer(heap) {
return Err(e);
}
functor_writer(heap)?;
num_functors += 1;
}