Add more custom folding to core::iter adaptors
#44856
+471
−33
Merged