mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 01:18:02 +02:00
Merge pull request #1656 from disarray2077/patch-16
Add assert to Span<T>.RemoveFromEnd
This commit is contained in:
commit
8e755a86bc
1 changed files with 1 additions and 0 deletions
|
@ -276,6 +276,7 @@ namespace System
|
|||
|
||||
public void RemoveFromEnd(int length) mut
|
||||
{
|
||||
Debug.Assert((uint)length <= (uint)mLength);
|
||||
mLength -= length;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue