Skip to content

Commit 6eaebcd

Browse files
authored
Update libraries.md (#9401)
Fixed `input`/`span` parameter in `ToLowerInvariant` example
1 parent 95c6741 commit 6eaebcd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

release-notes/9.0/preview/preview6/libraries.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ The following example shows a new `String.ToLowerInvariant` overload using this
452452

453453
```csharp
454454
public static string ToLowerInvariant(ReadOnlySpan<char> input) =>
455-
string.Create(span.Length, input, static (stringBuffer, input) => span.ToLowerInvariant(stringBuffer));
455+
string.Create(input.Length, input, static (stringBuffer, input) => input.ToLowerInvariant(stringBuffer));
456456
```
457457

458458
## Collection lookups with spans

0 commit comments

Comments
 (0)