Skip to content

Commit

Permalink
object: fix Modules().init error
Browse files Browse the repository at this point in the history
Signed-off-by: Stephen Gutekanst <[email protected]>
  • Loading branch information
slimsag committed Nov 30, 2024
1 parent 60df3e7 commit b4e2da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/module.zig
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ pub fn Modules(module_lists: anytype) type {
});
}

pub fn init(m: *@This(), allocator: std.mem.Allocator) std.mem.Allocator.Error!void {
pub fn init(m: *@This(), allocator: std.mem.Allocator) (std.mem.Allocator.Error || std.Thread.SpawnError)!void {
m.* = .{
.mods = undefined,
.graph = undefined,
Expand Down

0 comments on commit b4e2da1

Please sign in to comment.