From a91604416dc2db05d0d112a7c8ac9c8c6a167980 Mon Sep 17 00:00:00 2001 From: Cameron Reed Date: Sat, 19 Oct 2024 14:31:19 -0600 Subject: [PATCH] Removed extra file --- src/scratch.zig | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 src/scratch.zig diff --git a/src/scratch.zig b/src/scratch.zig deleted file mode 100644 index 81de571..0000000 --- a/src/scratch.zig +++ /dev/null @@ -1,16 +0,0 @@ -const std = @import("std"); - -pub fn main() !void { - const stdout = std.io.getStdOut().writer().any(); - //const stdout = getStdout(); - _ = try stdout.write("Hello 123\n"); - try printABC(stdout); -} - -fn getStdout() std.io.AnyWriter { - return std.io.getStdOut().writer().any(); -} - -fn printABC(stdout: std.io.AnyWriter) !void { - _ = try stdout.write("ABC\n"); -}