Skip to content

Commit 16b0f49

Browse files
committed
feat: ExactSizeIterator for RacyIter
1 parent b3ab7d6 commit 16b0f49

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ecmascript_atomics/src/lib.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -805,6 +805,8 @@ impl<'a, T: RacyStorage> DoubleEndedIterator for RacyIter<'a, T> {
805805
}
806806
}
807807

808+
impl<'a, T: RacyStorage> ExactSizeIterator for RacyIter<'a, T> {}
809+
808810
impl<'a, T: RacyStorage> IntoIterator for RacySlice<'a, T> {
809811
type Item = Racy<'a, T>;
810812

0 commit comments

Comments
 (0)