Skip to content

Commit

Permalink
Merge pull request #184 from Noname-Official/patch-1
Browse files Browse the repository at this point in the history
Select and Text are not fused iterators
  • Loading branch information
cfvescovo committed Jul 16, 2024
2 parents 28c0069 + 3b8383d commit 37b062e
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/element_ref/mod.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
//! Element references.

use std::fmt;
use std::iter::FusedIterator;
use std::ops::Deref;

use ego_tree::iter::{Edge, Traverse};
Expand Down Expand Up @@ -175,8 +174,6 @@ impl<'a, 'b> Iterator for Select<'a, 'b> {
}
}

impl FusedIterator for Select<'_, '_> {}

/// Iterator over descendent text nodes.
#[derive(Debug, Clone)]
pub struct Text<'a> {
Expand All @@ -198,8 +195,6 @@ impl<'a> Iterator for Text<'a> {
}
}

impl FusedIterator for Text<'_> {}

mod element;
mod serializable;

Expand Down

0 comments on commit 37b062e

Please sign in to comment.