zig

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

commit f2f474fc785a9bc89f16f91067480e8c410dc773 (tree)
parent 6ca1c88e46352b006c26d4c99944ac0c70fe28e7
Author: nyx-xyn <nyx-xyn@nyru.xyz>
Date:   Mon, 29 Dec 2025 00:05:37 +0100

std.Io.Dir: pass io to Walker.leave

Diffstat:
Mlib/std/Io/Dir.zig | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 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); } };