Commit d23f9a164e

Andrew Kelley <andrew@ziglang.org>
2020-04-01 16:21:17
Remove unneeeded address-of operator
1 parent 748b2c7
Changed files (1)
lib
lib/std/io/c_out_stream.zig
@@ -39,6 +39,6 @@ test "" {
         std.fs.cwd().deleteFileZ(filename) catch {};
     }
 
-    const out_stream = &cOutStream(out_file);
+    const out_stream = cOutStream(out_file);
     try out_stream.print("hi: {}\n", .{@as(i32, 123)});
 }