diff options
author | Dave Gauer <dave@ratfactor.com> | 2021-06-16 17:04:50 -0400 |
---|---|---|
committer | Dave Gauer <dave@ratfactor.com> | 2021-06-16 17:04:50 -0400 |
commit | 64219e5dcda1d999583f48f8e4a55f47f9a00aaf (patch) | |
tree | 2c45e515c886e0a264ac4e52a38a8700141e1d2a /091_async8.zig | |
parent | da219d3c40dd2711cb1b144a8fd2f6ca4e86d159 (diff) | |
download | ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.gz ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.bz2 ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.tar.xz ziglings-64219e5dcda1d999583f48f8e4a55f47f9a00aaf.zip |
Oops, had committed WIP exercise
Diffstat (limited to '091_async8.zig')
-rw-r--r-- | 091_async8.zig | 20 |
1 files changed, 0 insertions, 20 deletions
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 {} -} |