From 203d6554b1e54e06aa28cbcfa74596911cd60b4c Mon Sep 17 00:00:00 2001 From: markfirmware Date: Thu, 2 Apr 2020 22:39:23 -0400 Subject: [PATCH] Update fmt.zig --- lib/std/fmt.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/fmt.zig b/lib/std/fmt.zig index bcc470e9b93f23c8edd483f9fbade4c6b1497968..dca2a591713833089053f498132a2e200a6e681d 100644 --- a/lib/std/fmt.zig +++ b/lib/std/fmt.zig @@ -69,7 +69,7 @@ fn peekIsAlign(comptime fmt: []const u8) bool { /// /// If a formatted user type contains a function of the type /// ``` -/// fn format(value: ?, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: var) !void +/// pub fn format(value: ?, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: var) !void /// ``` /// with `?` being the type formatted, this function will be called instead of the default implementation. /// This allows user types to be formatted in a logical manner instead of dumping all fields of the type. -- 2.54.0