mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-05-07 18:28:04 +03:00
e78d7704a4
Ideally this duplicated code could be factored out into a function, but there doesn't seem to be any way in the Zig type system to represent an argument to a function called at comptime that is only needed if it is comptime-known. Instead, we document what is going on in an adjacent comment in case it gets copy-pasted into new methods in the future.