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