aboutsummaryrefslogtreecommitdiff
path: root/lib/std
diff options
context:
space:
mode:
authorJay Petacat <jay@jayschwa.net>2020-04-02 23:46:46 -0400
committerGitHub <noreply@github.com>2020-04-02 23:46:46 -0400
commit0dbf8aaab83d7387568d6387c6cbd263e04c7397 (patch)
tree367560f4e6b3c15a436ee5635933538554909103 /lib/std
parent048da6f6315772cd4fb6356c2dd50f0b60cbf6b5 (diff)
downloadzig-0dbf8aaab83d7387568d6387c6cbd263e04c7397.tar.gz
zig-0dbf8aaab83d7387568d6387c6cbd263e04c7397.zip
crypto: fix benchmark compile error (#4919)
Diffstat (limited to 'lib/std')
-rw-r--r--lib/std/crypto/benchmark.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/crypto/benchmark.zig b/lib/std/crypto/benchmark.zig
index 0cc2c1d3ad..8f961f80f2 100644
--- a/lib/std/crypto/benchmark.zig
+++ b/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..]);