Skip to content

Commit

Permalink
Address new net9 warning (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceroypenguin authored Aug 13, 2024
1 parent 0bbcff5 commit 6836375
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Source/SuperLinq/Memoize.cs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ private IEnumerator<T> GetEnumeratorImpl()
if (_enumerator is null)
break;

var moved = false;
bool moved;
try
{
moved = _enumerator.MoveNext();
Expand Down
2 changes: 1 addition & 1 deletion Source/SuperLinq/Share.cs
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private IEnumerator<T> GetEnumeratorImpl()
if (_enumerator is null)
break;

var moved = false;
bool moved;
try
{
moved = _enumerator.MoveNext();
Expand Down

0 comments on commit 6836375

Please sign in to comment.