Skip to content

Commit

Permalink
Fix double-negative.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillig committed Feb 23, 2022
1 parent 5461aa9 commit 7511216
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public bool MoveNext()
{
_current = _current.Next;

_ended = !(_current is not null);
_ended = _current is null;

return !_ended;
}
Expand Down

0 comments on commit 7511216

Please sign in to comment.