mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-12 01:49:59 +00:00
no unusued vars
This commit is contained in:
@@ -46,6 +46,8 @@
|
|||||||
const print = @import("std").debug.print;
|
const print = @import("std").debug.print;
|
||||||
|
|
||||||
pub fn main() void {
|
pub fn main() void {
|
||||||
|
// Additional Hint: you can assign things to '_' when you
|
||||||
|
// don't intend to do anything with them.
|
||||||
foo();
|
foo();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
49c49
|
51c51
|
||||||
< foo();
|
< foo();
|
||||||
---
|
---
|
||||||
> var foo_frame = async foo();
|
> _ = async foo();
|
||||||
|
|||||||
Reference in New Issue
Block a user