diff options
| author | Dave Gauer <[email protected]> | 2021-06-16 17:04:50 -0400 |
|---|---|---|
| committer | Dave Gauer <[email protected]> | 2021-06-16 17:04:50 -0400 |
| commit | 9d52c769d530e9d01d7ae688e35f96d46df47299 (patch) | |
| tree | 2c45e515c886e0a264ac4e52a38a8700141e1d2a | |
| parent | be349dae5d332e6a81c38506aa2aa32b078fe68d (diff) | |
| download | ziglings-9d52c769d530e9d01d7ae688e35f96d46df47299.tar.xz ziglings-9d52c769d530e9d01d7ae688e35f96d46df47299.zip | |
Oops, had committed WIP exercise
| -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 {} -} |
