diff --git a/examples/strings-and-runes/strings-and-runes.go b/examples/strings-and-runes/strings-and-runes.go index 3697481..acbd0cc 100644 --- a/examples/strings-and-runes/strings-and-runes.go +++ b/examples/strings-and-runes/strings-and-runes.go @@ -36,7 +36,7 @@ func main() { // To count how many _runes_ are in a string, we can use // the `utf8` package. Note that the run-time of - // `RuneCountInString` dependes on the size of the string, + // `RuneCountInString` depends on the size of the string, // because it has to decode each UTF-8 rune sequentially. // Some Thai characters are represented by multiple UTF-8 // code points, so the result of this count may be surprising. diff --git a/examples/strings-and-runes/strings-and-runes.hash b/examples/strings-and-runes/strings-and-runes.hash index 299528c..99cc716 100644 --- a/examples/strings-and-runes/strings-and-runes.hash +++ b/examples/strings-and-runes/strings-and-runes.hash @@ -1,2 +1,2 @@ -766c486b73701deb5af9a3f5249d4febc3beda89 -y9AcFzz3UJn +45a1127788eb4c0acfef48efee9ca386e06d4c58 +39BpTLf6BAz diff --git a/public/strings-and-runes b/public/strings-and-runes index a7fc03e..9fe20ec 100644 --- a/public/strings-and-runes +++ b/public/strings-and-runes @@ -48,7 +48,7 @@ introduction to the topic.
package main
s
.
To count how many runes are in a string, we can use
the utf8
package. Note that the run-time of
-RuneCountInString
dependes on the size of the string,
+RuneCountInString
depends on the size of the string,
because it has to decode each UTF-8 rune sequentially.
Some Thai characters are represented by multiple UTF-8
code points, so the result of this count may be surprising.