Skip to content

Commit cd1e01f

Browse files
authored
Update content/post/2025-1-23-bonkers-comptime.md
1 parent 34e99bc commit cd1e01f

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

content/post/2025-1-23-bonkers-comptime.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,6 @@ pub fn writeMyStructOfType(
360360
try writer.print("}};\n", .{});
361361
}
362362
```
363-
```
364363

365364
以上 struct 字段的生成体现了上述两种转换(`conversions`)方式,并且将两者混合在了一行中。 字段的类型表达式由生成器/运行时完成,而字段本身则作为运行时代码使用的定义。
366365

0 commit comments

Comments
 (0)