Skip to content

Commit

Permalink
Fix two rebase errors
Browse files Browse the repository at this point in the history
  • Loading branch information
jozkee committed Aug 17, 2023
1 parent 0412ab1 commit e825679
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -246,8 +246,6 @@ public void Rewind(long count)
return;
}

Consumed -= count;

if (_currentSpanIndex >= count)
{
_currentSpanIndex -= (int)count;
Expand Down Expand Up @@ -276,7 +274,7 @@ private void ResetReader()
this = new(_sequence);

// reinstate the length
Unsafe.AsRef(_length) = length;
Unsafe.AsRef(in _length) = length;
}

/// <summary>
Expand Down

0 comments on commit e825679

Please sign in to comment.