diff options
Diffstat (limited to 'src/install/install.zig')
-rw-r--r-- | src/install/install.zig | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/install/install.zig b/src/install/install.zig index 0ae273f79..94a984416 100644 --- a/src/install/install.zig +++ b/src/install/install.zig @@ -1053,7 +1053,7 @@ const PackageInstall = struct { path, 0, )) { - 0 => void{}, + 0 => {}, else => |errno| switch (std.os.errno(errno)) { .OPNOTSUPP => return error.NotSupported, .NOENT => return error.FileNotFound, @@ -1087,7 +1087,7 @@ const PackageInstall = struct { }; return Result{ - .success = void{}, + .success = {}, }; } @@ -1111,7 +1111,7 @@ const PackageInstall = struct { this.destination_dir_subpath, 0, )) { - 0 => .{ .success = void{} }, + 0 => .{ .success = {} }, else => |errno| switch (std.os.errno(errno)) { .OPNOTSUPP => error.NotSupported, .NOENT => error.FileNotFound, @@ -1198,7 +1198,7 @@ const PackageInstall = struct { }; return Result{ - .success = void{}, + .success = {}, }; } @@ -1259,7 +1259,7 @@ const PackageInstall = struct { }; return Result{ - .success = void{}, + .success = {}, }; } @@ -1354,7 +1354,7 @@ const PackageInstall = struct { }; return Result{ - .success = void{}, + .success = {}, }; } @@ -1532,7 +1532,7 @@ const PackageInstall = struct { } if (supported_method_to_use != .copyfile) return Result{ - .success = void{}, + .success = {}, }; // TODO: linux io_uring @@ -6982,9 +6982,9 @@ pub const PackageManager = struct { &installer, .{ .onExtract = PackageInstaller.installEnqueuedPackages, - .onResolve = void{}, - .onPackageManifestError = void{}, - .onPackageDownloadError = void{}, + .onResolve = {}, + .onPackageManifestError = {}, + .onPackageDownloadError = {}, }, log_level, ); @@ -7001,9 +7001,9 @@ pub const PackageManager = struct { &installer, .{ .onExtract = PackageInstaller.installEnqueuedPackages, - .onResolve = void{}, - .onPackageManifestError = void{}, - .onPackageDownloadError = void{}, + .onResolve = {}, + .onPackageManifestError = {}, + .onPackageDownloadError = {}, }, log_level, ); @@ -7016,9 +7016,9 @@ pub const PackageManager = struct { &installer, .{ .onExtract = PackageInstaller.installEnqueuedPackages, - .onResolve = void{}, - .onPackageManifestError = void{}, - .onPackageDownloadError = void{}, + .onResolve = {}, + .onPackageManifestError = {}, + .onPackageDownloadError = {}, }, log_level, ); |