zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 1982e0c18a5d46a86ca411661a4d25039eb269e7 (tree)
parent 0316ac959c1435eba4c63579feb0dced05fba366
Author: LemonBoy <thatlemon@gmail.com>
Date:   Mon, 21 Sep 2020 16:15:37 +0200

Fix typo in documentation

Diffstat:
Mlib/std/fmt.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/fmt.zig b/lib/std/fmt.zig @@ -77,7 +77,7 @@ fn peekIsAlign(comptime fmt: []const u8) bool { /// - `b`: output integer value in binary notation /// - `o`: output integer value in octal notation /// - `c`: output integer as an ASCII character. Integer type must have 8 bits at max. -/// - `u`: output integer as an UTF-8 sequence. Integer type must have 32 bits at max. +/// - `u`: output integer as an UTF-8 sequence. Integer type must have 21 bits at max. /// - `*`: output the address of the value instead of the value itself. /// /// If a formatted user type contains a function of the type