summaryrefslogtreecommitdiff
path: root/exercises/080_anonymous_structs.zig
diff options
context:
space:
mode:
authorChris Boesch <chrboesch@noreply.codeberg.org>2025-06-17 14:10:16 +0200
committerChris Boesch <chrboesch@noreply.codeberg.org>2025-06-17 14:10:16 +0200
commitbc96d06da4d3400f40babd1de0eb0e100d734273 (patch)
treed93343ffda857f50e8acf2ad875552a2bb1e8292 /exercises/080_anonymous_structs.zig
parent451e1a373969f81fb63223e10b1d69ba7dac3523 (diff)
parentafaab2efca069cb4144d8bcb3a82ee042315ea6b (diff)
Merge branch 'main' into i278
Diffstat (limited to 'exercises/080_anonymous_structs.zig')
-rw-r--r--exercises/080_anonymous_structs.zig8
1 files changed, 4 insertions, 4 deletions
diff --git a/exercises/080_anonymous_structs.zig b/exercises/080_anonymous_structs.zig
index 55dedd4..4e3ce84 100644
--- a/exercises/080_anonymous_structs.zig
+++ b/exercises/080_anonymous_structs.zig
@@ -19,12 +19,12 @@
// const MyBar = Bar(); // store the struct type
// const bar = Bar() {}; // create instance of the struct
//
-// * The value of @typeName(Bar()) is "Bar()".
-// * The value of @typeName(MyBar) is "Bar()".
-// * The value of @typeName(@TypeOf(bar)) is "Bar()".
+// * The value of @typeName(Bar()) is "<filename>.Bar()".
+// * The value of @typeName(MyBar) is "<filename>.Bar()".
+// * The value of @typeName(@TypeOf(bar)) is "<filename>.Bar()".
//
// You can also have completely anonymous structs. The value
-// of @typeName(struct {}) is "struct:<position in source>".
+// of @typeName(struct {}) is "<filename>.<function>__struct_<nnn>".
//
const print = @import("std").debug.print;