diff options
Diffstat (limited to 'lib/std/unicode.zig')
| -rw-r--r-- | lib/std/unicode.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/unicode.zig b/lib/std/unicode.zig index 4af1b63a69..0352c91f60 100644 --- a/lib/std/unicode.zig +++ b/lib/std/unicode.zig @@ -170,7 +170,7 @@ pub fn utf8ValidateSlice(s: []const u8) bool { /// ``` /// var utf8 = (try std.unicode.Utf8View.init("hi there")).iterator(); /// while (utf8.nextCodepointSlice()) |codepoint| { -/// std.debug.warn("got codepoint {}\n", codepoint); +/// std.debug.warn("got codepoint {}\n", .{codepoint}); /// } /// ``` pub const Utf8View = struct { |
