| ... | @@ -96,7 +96,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool { | ... | @@ -96,7 +96,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool { |
| 96 | return true; | 96 | return true; |
| 97 | } | 97 | } |
| 98 | | 98 | |
| 99 | /// Utf8View makes it easy to iterate the code points of a utf-8 encoded string. | 99 | /// Utf8View iterates the code points of a utf-8 encoded string. |
| 100 | /// | 100 | /// |
| 101 | /// ``` | 101 | /// ``` |
| 102 | /// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator(); | 102 | /// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator(); |