mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-12-22 14:03:10 -05:00
commit
c7e422a1fc
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@ pub fn main() void {
|
||||||
var num: u8 = 1;
|
var num: u8 = 1;
|
||||||
var more_nums = [_]u8{ 1, 1, 1, 1 };
|
var more_nums = [_]u8{ 1, 1, 1, 1 };
|
||||||
|
|
||||||
// Let's pass a reference to num to our function and print it:
|
// Let's pass the num reference to our function and print it:
|
||||||
makeFive(&num);
|
makeFive(&num);
|
||||||
std.debug.print("num: {}, ", .{num});
|
std.debug.print("num: {}, ", .{num});
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue