From 64219e5dcda1d999583f48f8e4a55f47f9a00aaf Mon Sep 17 00:00:00 2001 From: Dave Gauer Date: Wed, 16 Jun 2021 17:04:50 -0400 Subject: Oops, had committed WIP exercise --- 091_async8.zig | 20 -------------------- 1 file changed, 20 deletions(-) delete mode 100644 091_async8.zig (limited to '091_async8.zig') diff --git a/091_async8.zig b/091_async8.zig deleted file mode 100644 index 5f9e19b..0000000 --- a/091_async8.zig +++ /dev/null @@ -1,20 +0,0 @@ -// -// Perhaps you have been wondering why we have always called 'suspend' -// with an expression in the form of an empty block: -// -// suspend {} -// -// well, -// -const print = @import("std").debug.print; - -pub fn main() void { - - var my_beef = getBeef(0); - - print("beef? {X}!\n", .{my_beef}); -} - -fn getBeef(input: u32) u32 { - suspend {} -} -- cgit v1.2.3-ZIG