Skip to content

Commit

Permalink
Fix C# UTF-8 string literal (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
mpawelski authored Dec 22, 2023
1 parent 54704d3 commit a0fe7a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/language/strings.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ C# UTF-8 string literals are equivalent to Rust byte string literals.
C#

```csharp
string str = "hello"u8;
ReadOnlySpan<byte> str = "hello"u8;
```

Rust
Expand Down

0 comments on commit a0fe7a5

Please sign in to comment.