Commit b00007056d

Andrew Kelley <superjoe30@gmail.com>
2018-09-04 21:33:44
update throughput test to new File API
closes #1468
1 parent 68db9d5
Changed files (1)
std/crypto/throughput_test.zig
@@ -130,7 +130,7 @@ fn printPad(stdout: var, s: []const u8) !void {
 
 pub fn main() !void {
     var stdout_file = try std.io.getStdOut();
-    var stdout_out_stream = std.io.FileOutStream.init(&stdout_file);
+    var stdout_out_stream = std.io.FileOutStream.init(stdout_file);
     const stdout = &stdout_out_stream.stream;
 
     var buffer: [1024]u8 = undefined;