diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-04 00:37:41 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2025-01-04 00:37:41 +0100 |
commit | d21d4aa636ecf32d47fd667bf97cb4f68d590479 (patch) | |
tree | 630444a2806be98555992312f9d3cb0cdc4756b4 /src | |
parent | take initial capacity in init function (diff) | |
download | c-hashtable-d21d4aa636ecf32d47fd667bf97cb4f68d590479.tar.gz c-hashtable-d21d4aa636ecf32d47fd667bf97cb4f68d590479.tar.bz2 c-hashtable-d21d4aa636ecf32d47fd667bf97cb4f68d590479.zip |
update zig version
Diffstat (limited to 'src')
-rw-r--r-- | src/main.zig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.zig b/src/main.zig index 3a94dee..bc1d662 100644 --- a/src/main.zig +++ b/src/main.zig @@ -38,6 +38,6 @@ test "removing element" { const data: i32 = 4; _ = hashtable.hashtable_put(ht, @constCast("key"), @constCast(&data)); _ = hashtable.hashtable_remove(ht, @constCast("key")); - const res: ?*anyopaque = hashtable.hashtable_get(ht, @constCast("key")); + const res = hashtable.hashtable_get(ht, @constCast("key")); try std.testing.expectEqual(null, res); } |