Skip to content

Commit a0fe7a5

Browse files
authored
Fix C# UTF-8 string literal (#53)
1 parent 54704d3 commit a0fe7a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/language/strings.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ C# UTF-8 string literals are equivalent to Rust byte string literals.
8585
C#
8686

8787
```csharp
88-
string str = "hello"u8;
88+
ReadOnlySpan<byte> str = "hello"u8;
8989
```
9090

9191
Rust

0 commit comments

Comments
 (0)