mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-21 17:28:00 +02:00
Add assert to Span<T>.RemoveFromEnd
This commit is contained in:
parent
119e9189e5
commit
cfee95caf9
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