Clarify purpose of FaultyIter
This commit is contained in:
parent
edca8e9148
commit
0debb622d6
|
@ -776,6 +776,8 @@ mod tests {
|
|||
|
||||
use std::ops::Range;
|
||||
|
||||
// An iterator that lies about its `ExactSizeIterator` implementation.
|
||||
// See https://github.com/PyO3/pyo3/issues/2118
|
||||
struct FaultyIter(Range<usize>, usize);
|
||||
|
||||
impl Iterator for FaultyIter {
|
||||
|
|
|
@ -759,6 +759,8 @@ mod tests {
|
|||
|
||||
use std::ops::Range;
|
||||
|
||||
// An iterator that lies about its `ExactSizeIterator` implementation.
|
||||
// See https://github.com/PyO3/pyo3/issues/2118
|
||||
struct FaultyIter(Range<usize>, usize);
|
||||
|
||||
impl Iterator for FaultyIter {
|
||||
|
|
Loading…
Reference in New Issue