diff --git a/X10D/X10D.csproj b/X10D/X10D.csproj index 25f3e92..2a30a52 100644 --- a/X10D/X10D.csproj +++ b/X10D/X10D.csproj @@ -1,4 +1,4 @@ - + net7.0;net6.0;netstandard2.1 diff --git a/X10D/src/Collections/SpanSplitEnumerator.cs b/X10D/src/Collections/SpanSplitEnumerator.cs index 1e30bb1..c99d9e7 100644 --- a/X10D/src/Collections/SpanSplitEnumerator.cs +++ b/X10D/src/Collections/SpanSplitEnumerator.cs @@ -16,7 +16,7 @@ public ref struct SpanSplitEnumerator where T : struct, IEquatable /// /// The source span. /// The delimiting span of elements. - public SpanSplitEnumerator(in ReadOnlySpan source, ReadOnlySpan delimiter) + public SpanSplitEnumerator(ReadOnlySpan source, ReadOnlySpan delimiter) { _usingSpanDelimiter = true; _source = source; @@ -30,7 +30,7 @@ public ref struct SpanSplitEnumerator where T : struct, IEquatable /// /// The source span. /// The delimiting element. - public SpanSplitEnumerator(in ReadOnlySpan source, T delimiter) + public SpanSplitEnumerator(ReadOnlySpan source, T delimiter) { _usingSpanDelimiter = false; _source = source;