Skip to content

Commit d476de3

Browse files
authored
loop
1 parent db21e7d commit d476de3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sus/iter/iterator_loop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class [[nodiscard]] IteratorLoop final {
3333

3434
friend constexpr bool operator==(const IteratorLoop& loop,
3535
__private::IteratorEnd) noexcept {
36-
return x.item_.is_none();
36+
return loop.item_.is_none();
3737
}
3838
constexpr inline void operator++() & noexcept { item_ = iter_.next(); }
3939
constexpr inline Item operator*() & noexcept {

0 commit comments

Comments
 (0)