1
0
mirror of https://github.com/oliverbooth/X10D synced 2024-11-22 20:38:47 +00:00

Remove in modifier from SpanSplitEnumerator ctor

This commit is contained in:
Oliver Booth 2022-11-29 17:23:14 +00:00
parent f1815cafc2
commit f3b40d30b3
No known key found for this signature in database
GPG Key ID: 32A00B35503AF634
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>net7.0;net6.0;netstandard2.1</TargetFrameworks>

View File

@ -16,7 +16,7 @@ public ref struct SpanSplitEnumerator<T> where T : struct, IEquatable<T>
/// </summary>
/// <param name="source">The source span.</param>
/// <param name="delimiter">The delimiting span of elements.</param>
public SpanSplitEnumerator(in ReadOnlySpan<T> source, ReadOnlySpan<T> delimiter)
public SpanSplitEnumerator(ReadOnlySpan<T> source, ReadOnlySpan<T> delimiter)
{
_usingSpanDelimiter = true;
_source = source;
@ -30,7 +30,7 @@ public ref struct SpanSplitEnumerator<T> where T : struct, IEquatable<T>
/// </summary>
/// <param name="source">The source span.</param>
/// <param name="delimiter">The delimiting element.</param>
public SpanSplitEnumerator(in ReadOnlySpan<T> source, T delimiter)
public SpanSplitEnumerator(ReadOnlySpan<T> source, T delimiter)
{
_usingSpanDelimiter = false;
_source = source;