2 ms·
Good, but how do you create something, that is IntoIterator, which holds an immutable description of how to generate members to iterate over? And I mean some po
by lostmsu 8y ago
Good, but how do you create something, that is IntoIterator, which holds an immutable description of how to generate members to iterate over? And I mean some potentially infinite sequence.
- heinrich5991 8y agoFor example like this: https://doc.rust-lang.org/std/iter/fn.repeat.html https://doc.rust-lang.org/std/iter/fn.repeat.html