File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -312,7 +312,7 @@ public StringView TrimStart(params char[]? trimChars) =>
312312 /// <returns>
313313 /// The trimmed <see cref="StringView"/>.
314314 /// </returns>
315- public StringView TrimStart ( ReadOnlySpan < char > trimChars )
315+ public StringView TrimStart ( params ReadOnlySpan < char > trimChars )
316316 {
317317 if ( trimChars . Length == 0 )
318318 return TrimStart ( ) ;
@@ -404,7 +404,7 @@ public StringView TrimEnd(params char[]? trimChars) =>
404404 /// <returns>
405405 /// The trimmed <see cref="StringView"/>.
406406 /// </returns>
407- public StringView TrimEnd ( ReadOnlySpan < char > trimChars )
407+ public StringView TrimEnd ( params ReadOnlySpan < char > trimChars )
408408 {
409409 if ( trimChars . Length == 0 )
410410 return TrimEnd ( ) ;
@@ -508,7 +508,7 @@ public StringView Trim(params char[]? trimChars) =>
508508 /// <returns>
509509 /// The trimmed <see cref="StringView"/>.
510510 /// </returns>
511- public StringView Trim ( ReadOnlySpan < char > trimChars )
511+ public StringView Trim ( params ReadOnlySpan < char > trimChars )
512512 {
513513 if ( trimChars . Length == 0 )
514514 return Trim ( ) ;
You can’t perform that action at this time.
0 commit comments