diff options
Diffstat (limited to 'exercises')
| -rw-r--r-- | exercises/042_pointers4.zig | 2 | ||||
| -rw-r--r-- | exercises/060_floats.zig | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/exercises/042_pointers4.zig b/exercises/042_pointers4.zig index 359a2f1..1f6db70 100644 --- a/exercises/042_pointers4.zig +++ b/exercises/042_pointers4.zig @@ -17,7 +17,7 @@ pub fn main() void { var num: u8 = 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); std.debug.print("num: {}, ", .{num}); diff --git a/exercises/060_floats.zig b/exercises/060_floats.zig index a223257..e13a216 100644 --- a/exercises/060_floats.zig +++ b/exercises/060_floats.zig @@ -1,7 +1,7 @@ // // Zig has support for IEEE-754 floating-point numbers in these // specific sizes: f16, f32, f64, f128. Floating point literals -// may be writen in scientific notation: +// may be written in scientific notation: // // const a1: f32 = 1200.0; // 1,200 // const a2: f32 = 1.2e+3; // 1,200 |
