Skip to content

Commit

Permalink
Removed redundant scoped modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
sakno committed Oct 25, 2023
1 parent 9d5cefa commit 7d79a17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/DotNext/Buffers/PooledArrayBufferWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void IList<T>.Insert(int index, T item)
/// <param name="items">The span whose elements should be inserted into this buffer.</param>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> the index is invalid.</exception>
/// <exception cref="ObjectDisposedException">This writer has been disposed.</exception>
public void Insert(int index, scoped ReadOnlySpan<T> items)
public void Insert(int index, ReadOnlySpan<T> items)
{
ThrowIfDisposed();
if ((uint)index > (uint)position)
Expand Down Expand Up @@ -238,7 +238,7 @@ public void Insert(int index, scoped ReadOnlySpan<T> items)
/// <param name="items">The span whose elements should be added into this buffer.</param>
/// <exception cref="ArgumentOutOfRangeException"><paramref name="index"/> the index is invalid.</exception>
/// <exception cref="ObjectDisposedException">This writer has been disposed.</exception>
public void Overwrite(int index, scoped ReadOnlySpan<T> items)
public void Overwrite(int index, ReadOnlySpan<T> items)
{
ThrowIfDisposed();
if ((uint)index > (uint)position)
Expand Down

0 comments on commit 7d79a17

Please sign in to comment.