From f2f474fc785a9bc89f16f91067480e8c410dc773 Mon Sep 17 00:00:00 2001 From: nyx-xyn Date: Mon, 29 Dec 2025 00:05:37 +0100 Subject: [PATCH] std.Io.Dir: pass io to Walker.leave --- lib/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 index 577e114c40cffb62ec505f56b7d38c96c7827611..6db13f5c6cd1daeb770436519f5168daeb23eb8a 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); } }; -- 2.54.0