Skip to content

Commit

Permalink
oops
Browse files Browse the repository at this point in the history
  • Loading branch information
Book-reader committed Jan 20, 2025
1 parent 5425981 commit 72ec42b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lib/std/collections/hashmap.c3
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,6 @@ fn HashMap HashMap.new_from_keys_and_values(Key[] keys, Value[] values, uint cap
{
HashMap new = HashMap.new(capacity, load_factor, allocator);
assert(keys.len == values.len);
new.new_init(capacity, load_factor, allocator);
for (usz i = 0; i < keys.len; i++)
{
new.set(keys[i], values[i]);
Expand Down

0 comments on commit 72ec42b

Please sign in to comment.