aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2024-03-13 15:14:31 +0000
committergingerBill <bill@gingerbill.org>2024-03-13 15:14:31 +0000
commitdee66b84517e516f7381521e4fc15c830904dce1 (patch)
tree542758cb8a5da48ac77783f131dbb389aa87db4b
parent4aec2de7bd186bbdfe9aa0f890f9a276480c80c2 (diff)
Fix typo due to deletion
-rw-r--r--base/runtime/dynamic_map_internal.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/base/runtime/dynamic_map_internal.odin b/base/runtime/dynamic_map_internal.odin
index 5ecf2207f..49b99d267 100644
--- a/base/runtime/dynamic_map_internal.odin
+++ b/base/runtime/dynamic_map_internal.odin
@@ -416,7 +416,7 @@ map_insert_hash_dynamic :: proc "odin" (#no_alias m: ^Raw_Map, #no_alias info: ^
tv := map_cell_index_dynamic(sv, info.vs, 1)
swap_loop: for {
- if distance > mask
+ if distance > mask {
// Failed to find an empty slot and prevent infinite loop
return 0
}