aboutsummaryrefslogtreecommitdiff
path: root/core/container
diff options
context:
space:
mode:
authorgingerBill <gingerBill@users.noreply.github.com>2026-01-26 14:11:40 +0000
committergingerBill <gingerBill@users.noreply.github.com>2026-01-26 14:11:40 +0000
commit02e84f210843e4689090660131a3c6319ad06ee2 (patch)
treec5e254a8d96b114b200c698c950bc92f8938f972 /core/container
parent29428924b44250da6719ecec6449598d68957d38 (diff)
Keep `-strict-style` happy
Diffstat (limited to 'core/container')
-rw-r--r--core/container/handle_map/handle_map.odin3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/container/handle_map/handle_map.odin b/core/container/handle_map/handle_map.odin
index da816d288..37b8de9f6 100644
--- a/core/container/handle_map/handle_map.odin
+++ b/core/container/handle_map/handle_map.odin
@@ -65,8 +65,7 @@ Handle_Map :: struct($N: uint, $T: typeid, $Handle_Type: typeid)
N < uint(max(intrinsics.type_field_type(Handle_Type, "idx"))),
intrinsics.type_has_field (T, "handle"),
- intrinsics.type_field_type(T, "handle") == Handle_Type
-{
+ intrinsics.type_field_type(T, "handle") == Handle_Type {
// The zero element represent a zero-value sentinel (dummy value), allowing for `idx == 0` to mean a no-handle.
// This means the capacity is actually N-1 items.