I wrote immutable and mutable variants of an iterator that interleaves N iterators until one of them runs out. I had to avoid using allocations since this is used in DSP code, so I used an array of MaybeUninit objects for storing the iterators. Can anyone spot anything funny here?
Here's the gist as it was too long for Discord: https://gist.github.com/ilmai/bd2c92920a4b3304a5040a61723c1fc5