aboutsummaryrefslogtreecommitdiff
path: root/lib/std/bit_set.zig
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-06-11 12:18:04 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-06-11 12:18:04 -0700
commit9360cfebc722d99a54b576fff8bcfc0f0354ad41 (patch)
tree2c32d307cf752a12bda8eadb450dd03f73bbdecb /lib/std/bit_set.zig
parent13123afedbf05cf4646a7e5f39a95a4b06b45285 (diff)
downloadzig-9360cfebc722d99a54b576fff8bcfc0f0354ad41.tar.gz
zig-9360cfebc722d99a54b576fff8bcfc0f0354ad41.zip
Sema: type safety for "runtime_index" field
This commit does not change any behavior, but changes the type of the runtime_index field from u32 to a non-exhaustive enum. This allows us to put `std.math.maxInt(u32)` only in the enum type definition and give it an official meaning.
Diffstat (limited to 'lib/std/bit_set.zig')
0 files changed, 0 insertions, 0 deletions