diff options
| author | Chris Boesch <chrboesch@noreply.codeberg.org> | 2023-01-21 14:41:35 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-21 14:41:35 +0100 |
| commit | 68af87518f1b56170bb6c526fe0770c3c20ebabb (patch) | |
| tree | 9e62c59d47a7db243fa9cb0a7b171c66cf58416b /exercises/082_anonymous_structs3.zig | |
| parent | e978b09a0ac98919cbad5fe89d2e8e8adbea5a1c (diff) | |
| parent | 69a02c5ec4f279feb750e97cf079525947c944e7 (diff) | |
Merge branch 'main' into check_output_len
Diffstat (limited to 'exercises/082_anonymous_structs3.zig')
| -rw-r--r-- | exercises/082_anonymous_structs3.zig | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/exercises/082_anonymous_structs3.zig b/exercises/082_anonymous_structs3.zig index 8344321..6760ff3 100644 --- a/exercises/082_anonymous_structs3.zig +++ b/exercises/082_anonymous_structs3.zig @@ -4,8 +4,8 @@ // // .{ // false, -// @as(u32, 15); -// @as(i64, 67.12); +// @as(u32, 15), +// @as(f64, 67.12) // } // // We call these "tuples", which is a term used by many @@ -96,7 +96,7 @@ fn printTuple(tuple: anytype) void { // // pub const StructField = struct { // name: []const u8, - // field_type: type, + // type: type, // default_value: anytype, // is_comptime: bool, // alignment: comptime_int, |
