Fix typo in strings-and-runes (#414)

This commit is contained in:
Konstantin Kovshenin 2022-02-10 16:25:18 +03:00 committed by GitHub
parent 3e51f69fb5
commit 0f801fd5f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ import (
func main() {
// `s` is a `string` assigned a literal value
// representing the world "hello" in the Thai
// representing the word "hello" in the Thai
// language. Go string literals are UTF-8
// encoded text.
const s = "สวัสดี"

View File

@ -82,7 +82,7 @@ introduction to the topic.</p>
<tr>
<td class="docs">
<p><code>s</code> is a <code>string</code> assigned a literal value
representing the world &ldquo;hello&rdquo; in the Thai
representing the word &ldquo;hello&rdquo; in the Thai
language. Go string literals are UTF-8
encoded text.</p>