aboutsummaryrefslogtreecommitdiff
path: root/lib/std/fs
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-01-02 19:03:14 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-01-02 19:03:14 -0700
commit974c008a0ee0e0d7933e37d5ea930f712d494f6a (patch)
treec12b14dceebe7f6055fe07cfed2780d2b5c7bf60 /lib/std/fs
parent5b981b1be7b387a3f51d60b8642064e6642b956c (diff)
downloadzig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.tar.gz
zig-974c008a0ee0e0d7933e37d5ea930f712d494f6a.zip
convert more {} to {d} and {s}
Diffstat (limited to 'lib/std/fs')
-rw-r--r--lib/std/fs/wasi.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/fs/wasi.zig b/lib/std/fs/wasi.zig
index 761f6e8466..900adc5e2d 100644
--- a/lib/std/fs/wasi.zig
+++ b/lib/std/fs/wasi.zig
@@ -38,7 +38,7 @@ pub const PreopenType = union(PreopenTypeTag) {
pub fn format(self: Self, comptime fmt: []const u8, options: std.fmt.FormatOptions, out_stream: anytype) !void {
try out_stream.print("PreopenType{{ ", .{});
switch (self) {
- PreopenType.Dir => |path| try out_stream.print(".Dir = '{}'", .{path}),
+ PreopenType.Dir => |path| try out_stream.print(".Dir = '{z}'", .{path}),
}
return out_stream.print(" }}", .{});
}