Is the iterator returned by str::chars() fused?

⚓ Rust    📅 2025-09-22    👤 surdeus    👁️ 8      

surdeus

Warning

This post was published 39 days ago. The information described in this article may have changed.

Its documentation does not state what happens if I call next() after next() returns None. Should I call fuse() on it? I am writing some code that might call next() an extra time an want to be sure I cover all bases.

4 posts - 3 participants

Read full topic

🏷️ Rust_feed