Skip to content

Commit 37b062e

Browse files
authored
Merge pull request #184 from Noname-Official/patch-1
Select and Text are not fused iterators
2 parents 28c0069 + 3b8383d commit 37b062e

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/element_ref/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
//! Element references.
22
33
use std::fmt;
4-
use std::iter::FusedIterator;
54
use std::ops::Deref;
65

76
use ego_tree::iter::{Edge, Traverse};
@@ -175,8 +174,6 @@ impl<'a, 'b> Iterator for Select<'a, 'b> {
175174
}
176175
}
177176

178-
impl FusedIterator for Select<'_, '_> {}
179-
180177
/// Iterator over descendent text nodes.
181178
#[derive(Debug, Clone)]
182179
pub struct Text<'a> {
@@ -198,8 +195,6 @@ impl<'a> Iterator for Text<'a> {
198195
}
199196
}
200197

201-
impl FusedIterator for Text<'_> {}
202-
203198
mod element;
204199
mod serializable;
205200

0 commit comments

Comments
 (0)