Commit 4cb4097b08

Haze Booth <isnt@haze.cool>
2020-05-05 10:14:11
Update ErrorUnion thread spawn result to return null instead of 0
1 parent f127dee
Changed files (1)
lib
lib/std/thread.zig
@@ -280,7 +280,7 @@ pub const Thread = struct {
                                 std.debug.dumpStackTrace(trace.*);
                             }
                         };
-                        return 0;
+                        return null;
                     },
                     else => @compileError(bad_startfn_ret),
                 }