mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-21 21:53:11 -05:00
no unusued vars
This commit is contained in:
parent
6157066b95
commit
f9a1956d88
2 changed files with 4 additions and 2 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
49c49
|
||||
51c51
|
||||
< foo();
|
||||
---
|
||||
> var foo_frame = async foo();
|
||||
> _ = async foo();
|
||||
|
|
Loading…
Reference in a new issue