1
0
Fork 0
mirror of https://github.com/ratfactor/ziglings synced 2024-05-10 01:06:03 +02:00

no unusued vars

This commit is contained in:
Dave Gauer 2021-06-30 19:55:47 -04:00
parent cc5c413cfc
commit 88c550062d
2 changed files with 4 additions and 2 deletions

View File

@ -46,6 +46,8 @@
const print = @import("std").debug.print;
pub fn main() void {
// Additional Hint: you can assign things to '_' when you
// don't intend to do anything with them.
foo();
}

View File

@ -1,4 +1,4 @@
49c49
51c51
< foo();
---
> var foo_frame = async foo();
> _ = async foo();