Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mcatanzariti authored Apr 6, 2024
1 parent e662231 commit 62c4db2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Dahomey.Cbor/Serialization/CborReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,7 @@ public ReadOnlySpan<byte> ReadDataItem()

int size = _currentPos - currentDataItemPos;

return _buffer.Slice(currentDataItemPos, size).CopyTo(buffer);
return _buffer.Slice(currentDataItemPos, size);
}

[MethodImpl(MethodImplOptions.AggressiveInlining)]
Expand Down

0 comments on commit 62c4db2

Please sign in to comment.