add todo
This commit is contained in:
parent
16496d91a1
commit
bac41a802a
1 changed files with 2 additions and 0 deletions
|
@ -488,6 +488,8 @@ impl<'a> Parser<'a> {
|
|||
|
||||
/// Consumes the parser to produce an iterator of Events.
|
||||
pub fn into_iter(self) -> impl Iterator<Item = Event<'a>> + FusedIterator {
|
||||
// Can't impl IntoIter without allocating.and using a generic associated type
|
||||
// TODO: try harder?
|
||||
let section_iter = self
|
||||
.sections
|
||||
.into_iter()
|
||||
|
|
Reference in a new issue