diff options
Diffstat (limited to 'exercises')
-rw-r--r-- | exercises/001_hello.zig | 2 | ||||
-rw-r--r-- | exercises/072_comptime7.zig | 2 | ||||
-rw-r--r-- | exercises/076_sentinels.zig | 2 | ||||
-rw-r--r-- | exercises/092_interfaces.zig | 2 | ||||
-rw-r--r-- | exercises/096_memory_allocation.zig | 2 |
5 files changed, 5 insertions, 5 deletions
diff --git a/exercises/001_hello.zig b/exercises/001_hello.zig index 9534b60..2d95a10 100644 --- a/exercises/001_hello.zig +++ b/exercises/001_hello.zig @@ -11,7 +11,7 @@ // ... // } // -// Perhaps knowing this well help solve the errors we're getting +// Perhaps knowing this will help solve the errors we're getting // with this little program? // const std = @import("std"); diff --git a/exercises/072_comptime7.zig b/exercises/072_comptime7.zig index 147b935..9bc30fb 100644 --- a/exercises/072_comptime7.zig +++ b/exercises/072_comptime7.zig @@ -1,6 +1,6 @@ // // There is also an 'inline while'. Just like 'inline for', it -// loops at compile time, allowing you do all sorts of +// loops at compile time, allowing you to do all sorts of // interesting things not possible at runtime. See if you can // figure out what this rather bonkers example prints: // diff --git a/exercises/076_sentinels.zig b/exercises/076_sentinels.zig index 6f7abae..1af59da 100644 --- a/exercises/076_sentinels.zig +++ b/exercises/076_sentinels.zig @@ -69,7 +69,7 @@ pub fn main() void { } // Here's our generic sequence printing function. It's nearly -// complete, but there are a couple missing bits. Please fix +// complete, but there are a couple of missing bits. Please fix // them! fn printSequence(my_seq: anytype) void { const my_typeinfo = @typeInfo(@TypeOf(my_seq)); diff --git a/exercises/092_interfaces.zig b/exercises/092_interfaces.zig index 8f0a937..0b6b087 100644 --- a/exercises/092_interfaces.zig +++ b/exercises/092_interfaces.zig @@ -86,7 +86,7 @@ const Insect = union(enum) { // Thanks to 'inline else', we can think of this print() as // being an interface method. Any member of this union with - // with a print() method can be treated uniformly by outside + // a print() method can be treated uniformly by outside // code without needing to know any other details. Cool! pub fn print(self: Insect) void { switch (self) { diff --git a/exercises/096_memory_allocation.zig b/exercises/096_memory_allocation.zig index 4a89702..8e348be 100644 --- a/exercises/096_memory_allocation.zig +++ b/exercises/096_memory_allocation.zig @@ -27,7 +27,7 @@ // std.debug.print("ptr={*}\n", .{ptr}); // // const slice_ptr = try allocator.alloc(f64, 5); -// std.debug.print("ptr={*}\n", .{ptr}); +// std.debug.print("slice_ptr={*}\n", .{slice_ptr}); // } // Instead of an simple integer or a constant sized slice, this |