aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authornyx-xyn <nyx-xyn@nyru.xyz>2025-12-29 00:05:37 +0100
committernyx-xyn <nyx-xyn@nyru.xyz>2025-12-29 00:36:57 +0100
commitf2f474fc785a9bc89f16f91067480e8c410dc773 (patch)
tree2eb2cdcd850eb64cdee2c202f9d53c7cb3911487 /lib/std
parent6ca1c88e46352b006c26d4c99944ac0c70fe28e7 (diff)
downloadzig-f2f474fc785a9bc89f16f91067480e8c410dc773.tar.gz
zig-f2f474fc785a9bc89f16f91067480e8c410dc773.zip
std.Io.Dir: pass io to Walker.leave
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/Io/Dir.zig4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/std/Io/Dir.zig b/lib/std/Io/Dir.zig
index 577e114c40..6db13f5c6c 100644
--- a/lib/std/Io/Dir.zig
+++ b/lib/std/Io/Dir.zig
@@ -373,8 +373,8 @@ pub const Walker = struct {
/// Leaves the current directory, continuing walking one level up.
/// If the current entry is a directory entry, then the "current directory"
/// is the directory pertaining to the current entry.
- pub fn leave(self: *Walker) void {
- self.inner.leave();
+ pub fn leave(self: *Walker, io: Io) void {
+ self.inner.leave(io);
}
};