Skip to content

Commit

Permalink
correct comparisons are important
Browse files Browse the repository at this point in the history
  • Loading branch information
akiraveliara committed Sep 25, 2023
1 parent e02be6d commit 9b4f234
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Bundles/ValueCollections/ValueStack.cs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ public bool TryPush
T item
)
{
if (this.count == this.items.Length - 1)
if (this.count == this.items.Length)
{
return false;
}
Expand Down

0 comments on commit 9b4f234

Please sign in to comment.