| author | |
| committer | |
| log | d3d3e55fae2299d1ff594c77da2f1f41f44ab525 |
| tree | e9e57219d79d903fb52dd910854e13c73582c77d |
| parent | 566adc2510859eaa30eb7c318260c98e712daccf |
1 files changed, 2 insertions(+), 2 deletions(-)
doc/langref.html.in+2-2| ... | ... | @@ -933,8 +933,8 @@ const assert = std.debug.assert; |
| 933 | 933 | threadlocal var x: i32 = 1234; |
| 934 | 934 | |
| 935 | 935 | test "thread local storage" { |
| 936 | const thread1 = try std.Thread.spawn({}, testTls); | |
| 937 | const thread2 = try std.Thread.spawn({}, testTls); | |
| 936 | const thread1 = try std.Thread.spawn(testTls, {}); | |
| 937 | const thread2 = try std.Thread.spawn(testTls, {}); | |
| 938 | 938 | testTls({}); |
| 939 | 939 | thread1.wait(); |
| 940 | 940 | thread2.wait(); |