Skip to content

Commit

Permalink
Update libraries.md (#9401)
Browse files Browse the repository at this point in the history
Fixed `input`/`span` parameter in `ToLowerInvariant` example
  • Loading branch information
yugabe authored Jul 15, 2024
1 parent 95c6741 commit 6eaebcd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-notes/9.0/preview/preview6/libraries.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,7 +452,7 @@ The following example shows a new `String.ToLowerInvariant` overload using this

```csharp
public static string ToLowerInvariant(ReadOnlySpan<char> input) =>
string.Create(span.Length, input, static (stringBuffer, input) => span.ToLowerInvariant(stringBuffer));
string.Create(input.Length, input, static (stringBuffer, input) => input.ToLowerInvariant(stringBuffer));
```

## Collection lookups with spans
Expand Down

0 comments on commit 6eaebcd

Please sign in to comment.