From f3b40d30b3c74940e1a619a07e98145832742efc Mon Sep 17 00:00:00 2001 From: Oliver Booth Date: Tue, 29 Nov 2022 17:23:14 +0000 Subject: [PATCH] Remove in modifier from SpanSplitEnumerator ctor --- X10D/X10D.csproj | 2 +- X10D/src/Collections/SpanSplitEnumerator.cs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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;