diff --git a/Dir.zig b/Dir.zig index c5e3872326c43384edaea350acbda595cbdcaadb..4f85d2861b79e17ea9e6539feae86ac82d0df709 100644 --- a/Dir.zig +++ b/Dir.zig @@ -74,8 +74,8 @@ pub const OpenDirFlags = packed struct { }; /// temporary method for interacting with other std apis we don't have our own version of -pub fn to_std(self: Dir) std.fs.Dir { - return .{ .fd = @intFromEnum(self.fd) }; +pub fn to_std(self: Dir) std.Io.Dir { + return .{ .handle = @intFromEnum(self.fd) }; } pub fn readFileAlloc(self: Dir, allocator: std.mem.Allocator, file_path: [:0]const u8, max_bytes: usize) ![:0]u8 {