rust-ascii icon indicating copy to clipboard operation
rust-ascii copied to clipboard

Feature request: public iterator types

Open nicholasbishop opened this issue 1 year ago • 0 comments

The lines and split methods currently return impl DoubleEndedIterator<Item = &AsciiStr>. It would be nice if they returned a concrete type, similar to std::str::Lines and std::str::Split. A concrete type allows the the iterator to be easily stored in a struct.

nicholasbishop avatar Jul 30 '23 17:07 nicholasbishop