This was still bothering me, but I found the Itertools crate and the tuple_combinations method. Check out my updated solution in the thread. Itertools makes iterators even more powerful.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.