Merge pull request #27 from vishalsodani/main

Fixed some typos
pull/2/head
Dave Gauer 4 years ago committed by GitHub
commit d2b4e7a87b

@ -33,7 +33,7 @@ const Color = enum(u32) {
}; };
pub fn main() void { pub fn main() void {
// Remeber Zig's multi-line strings? Here they are again. // Remember Zig's multi-line strings? Here they are again.
// Also, check out this cool format string: // Also, check out this cool format string:
// //
// {x:0>6} // {x:0>6}

@ -10,8 +10,8 @@
// //
// into this: // into this:
// //
// point1 = Point{ .x=3, .y=16, .y=27 }; // point1 = Point{ .x=3, .y=16, .z=27 };
// point2 = Point{ .x=7, .y=13, .y=34 }; // point2 = Point{ .x=7, .y=13, .z=34 };
// //
// The Point above is an example of a "struct" (short for "structure"). // The Point above is an example of a "struct" (short for "structure").
// Here's how it could have been defined: // Here's how it could have been defined:

Loading…
Cancel
Save