diff options
Diffstat (limited to '')
-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); } |