diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2025-08-30 14:50:33 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2025-08-31 12:49:18 -0700 |
| commit | 150169f1e0cf08d4b76fed81fc205a63177b6e01 (patch) | |
| tree | c39318b34c361a9a5a8ddaa1aae80cba1fe27f0c /lib/std/Uri.zig | |
| parent | ab99dd9c5d22a3d927453081654b1f75b2521b48 (diff) | |
| download | zig-150169f1e0cf08d4b76fed81fc205a63177b6e01.tar.gz zig-150169f1e0cf08d4b76fed81fc205a63177b6e01.zip | |
std.fmt: delete deprecated APIs
std.fmt.Formatter -> std.fmt.Alt
std.fmt.format -> std.Io.Writer.print
Diffstat (limited to 'lib/std/Uri.zig')
| -rw-r--r-- | lib/std/Uri.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/Uri.zig b/lib/std/Uri.zig index 7244c9595b..54e0f6a4f2 100644 --- a/lib/std/Uri.zig +++ b/lib/std/Uri.zig @@ -359,7 +359,7 @@ pub const Format = struct { } }; -pub fn fmt(uri: *const Uri, flags: Format.Flags) std.fmt.Formatter(Format, Format.default) { +pub fn fmt(uri: *const Uri, flags: Format.Flags) std.fmt.Alt(Format, Format.default) { return .{ .data = .{ .uri = uri, .flags = flags } }; } |
