aboutsummaryrefslogtreecommitdiffstats
path: root/tool
diff options
context:
space:
mode:
authorLibravatar Rutger Broekhoff2021-09-20 14:26:28 +0200
committerLibravatar Rutger Broekhoff2021-09-20 14:26:28 +0200
commite91bfbd118172804a98280bb5b0b48d15ee76531 (patch)
tree50e86627279b24156b91dc884ad502dca725a801 /tool
parent29fb00a1c3a60d4faca2fb29ae56b73362baa917 (diff)
downloadzig-nkeys-e91bfbd118172804a98280bb5b0b48d15ee76531.tar.gz
zig-nkeys-e91bfbd118172804a98280bb5b0b48d15ee76531.zip
Format tool/znk.zig
Diffstat (limited to 'tool')
-rw-r--r--tool/znk.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/tool/znk.zig b/tool/znk.zig
index ff5540e..269e176 100644
--- a/tool/znk.zig
+++ b/tool/znk.zig
@@ -446,7 +446,7 @@ fn PrefixKeyGenerator(comptime EntropyReaderType: type) type {
446 var cpu_count = try std.Thread.getCpuCount(); 446 var cpu_count = try std.Thread.getCpuCount();
447 var threads = try self.allocator.alloc(std.Thread, cpu_count); 447 var threads = try self.allocator.alloc(std.Thread, cpu_count);
448 defer self.allocator.free(threads); 448 defer self.allocator.free(threads);
449 for (threads) |*thread| thread.* = try std.Thread.spawn(.{}, Self.generatePrivate, .{ self }); 449 for (threads) |*thread| thread.* = try std.Thread.spawn(.{}, Self.generatePrivate, .{self});
450 for (threads) |thread| thread.join(); 450 for (threads) |thread| thread.join();
451 } 451 }
452 }; 452 };