Commit 0dbf8aaab8

Jay Petacat <jay@jayschwa.net>
2020-04-03 05:46:46
crypto: fix benchmark compile error (#4919)
1 parent 048da6f
Changed files (1)
lib
std
lib/std/crypto/benchmark.zig
@@ -133,7 +133,7 @@ fn printPad(stdout: var, s: []const u8) !void {
 }
 
 pub fn main() !void {
-    const stdout = &std.io.getStdOut().outStream().stream;
+    const stdout = std.io.getStdOut().outStream();
 
     var buffer: [1024]u8 = undefined;
     var fixed = std.heap.FixedBufferAllocator.init(buffer[0..]);