diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2018-06-20 17:16:27 -0400 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2018-06-20 17:16:27 -0400 |
| commit | e891f9cd9dc52b4bc63ae63115822fbf5e724348 (patch) | |
| tree | 04db0f7f5ae715cab83eaa496861be16161998cc /std/os | |
| parent | 6bd861006377ba192d5bd108a0de1e94f32c2454 (diff) | |
| download | zig-e891f9cd9dc52b4bc63ae63115822fbf5e724348.tar.gz zig-e891f9cd9dc52b4bc63ae63115822fbf5e724348.zip | |
zig fmt
Diffstat (limited to 'std/os')
| -rw-r--r-- | std/os/index.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/std/os/index.zig b/std/os/index.zig index 7b69bd0b36..ce29106810 100644 --- a/std/os/index.zig +++ b/std/os/index.zig @@ -2583,8 +2583,8 @@ pub fn spawnThread(context: var, comptime startFn: var) SpawnThreadError!*Thread errdefer assert(windows.HeapFree(heap_handle, 0, bytes_ptr) != 0); const bytes = @ptrCast([*]u8, bytes_ptr)[0..byte_count]; const outer_context = std.heap.FixedBufferAllocator.init(bytes).allocator.create(WinThread.OuterContext{ - .thread = undefined, - .inner = context + .thread = undefined, + .inner = context, }) catch unreachable; outer_context.thread.data.heap_handle = heap_handle; |
