Auto merge of #140464 - oli-obk:successors-mut-perf, r=petrochenkov

Use a closure instead of three chained iterators

Fixes the perf regression from #123948

That PR had chained a third option to the iterator which apparently didn't optimize well
This commit is contained in:
bors 2025-05-03 10:43:38 +00:00
commit 707ec70aa2

Diff Content Not Available