mirror of
https://codeberg.org/ziglings/exercises.git
synced 2026-06-08 07:50:00 +00:00
no unusued vars
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user