Skip to content

Commit b4e2da1

Browse files
author
Stephen Gutekanst
committed
object: fix Modules().init error
Signed-off-by: Stephen Gutekanst <[email protected]>
1 parent 60df3e7 commit b4e2da1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ pub fn Modules(module_lists: anytype) type {
505505
});
506506
}
507507

508-
pub fn init(m: *@This(), allocator: std.mem.Allocator) std.mem.Allocator.Error!void {
508+
pub fn init(m: *@This(), allocator: std.mem.Allocator) (std.mem.Allocator.Error || std.Thread.SpawnError)!void {
509509
m.* = .{
510510
.mods = undefined,
511511
.graph = undefined,

0 commit comments

Comments
 (0)