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:
parent
f1815cafc2
commit
f3b40d30b3
@ -1,4 +1,4 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFrameworks>net7.0;net6.0;netstandard2.1</TargetFrameworks>
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user