diff --git a/website/versioned_docs/version-0.13/02-standard-library/09-threads.md b/website/versioned_docs/version-0.13/02-standard-library/09-threads.md index 0a016ae..244e796 100644 --- a/website/versioned_docs/version-0.13/02-standard-library/09-threads.md +++ b/website/versioned_docs/version-0.13/02-standard-library/09-threads.md @@ -15,8 +15,7 @@ fn ticker(step: u8) void { var tick: isize = 0; test "threading" { - var thread = try std.Thread.spawn(.{}, ticker, .{@as(u8, 1)}); - _ = thread; + _ = try std.Thread.spawn(.{}, ticker, .{@as(u8, 1)}); try expect(tick == 0); std.time.sleep(3 * std.time.ns_per_s / 2); try expect(tick == 1);