Commit 6953c8544b

Martin Wickham <spexguy070@gmail.com>
2021-06-04 00:58:06
Fix return type of HashMap.getAdapted
1 parent fc9430f
Changed files (1)
lib
lib/std/hash_map.zig
@@ -541,7 +541,7 @@ pub fn HashMap(
         pub fn get(self: Self, key: K) ?V {
             return self.unmanaged.getContext(key, self.ctx);
         }
-        pub fn getAdapted(self: Self, key: anytype, ctx: anytype) ?*V {
+        pub fn getAdapted(self: Self, key: anytype, ctx: anytype) ?V {
             return self.unmanaged.getAdapted(key, ctx);
         }