mirror of
https://codeberg.org/andyscott/ziglings.git
synced 2024-11-13 21:40:46 -05:00
Update 037_structs.zig
This commit is contained in:
parent
1b2b90317c
commit
e90042b95e
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
||||||
// point2 = Point{ .x=7, .y=13, .z=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 that struct type could have been defined:
|
||||||
//
|
//
|
||||||
// const Point = struct{ x: u32, y: u32, z: u32 };
|
// const Point = struct{ x: u32, y: u32, z: u32 };
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in a new issue