From f20348e9a3782ce11b4c9bee39be06fe2f6d50cd Mon Sep 17 00:00:00 2001 From: Sam Atman Date: Fri, 13 Feb 2026 10:27:30 -0500 Subject: Prerelease touchup --- src/code_point.zig | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/code_point.zig') diff --git a/src/code_point.zig b/src/code_point.zig index 5f6c61c..2332c8b 100644 --- a/src/code_point.zig +++ b/src/code_point.zig @@ -31,7 +31,7 @@ pub const CodePoint = struct { /// Use `decodeAtIndex` or `decodeAtCursor`. pub fn decode(bytes: []const u8, offset: uoffset) ?CodePoint { _ = .{ bytes, offset }; - @compileError("decode has been removed, use `decodeAtIndex`."); + @compileError("decode has been removed, use `decodeAtIndex` or `decodeAtCursor`."); } /// Return the codepoint at `index`, even if `index` is in the middle @@ -211,8 +211,8 @@ pub const Iterator = struct { // speed increase in exchange. // // Credit for the algorithm goes to Björn Höhrmann, who wrote it up at -// https://bjoern.hoehrmann.de/utf-8/decoder/dfa/ . The original -// license may be found in the ./credits folder. +// https://bjoern.hoehrmann.de/utf-8/decoder/dfa/. The license to the +// original code may be found in the ./credits folder. // /// Successful codepoint parse -- cgit v1.2.3