Iterator chaining vs. recursion
⚓ Rust 📅 2025-06-23 👤 surdeus 👁️ 16Playground: Rust Playground
I'm trying to chain iterators in a recursive function. The function is supposed to return a iterator, but using .chain results in a Chain. A Chain is iterator-like - it offers .map - but it won't convert to an iterator. How do I do this?
1 post - 1 participant
🏷️ rust_feed