From 6953c8544b68c788dca4ed065e4a15eccbd4446b Mon Sep 17 00:00:00 2001 From: Martin Wickham Date: Thu, 3 Jun 2021 17:58:06 -0500 Subject: [PATCH] Fix return type of HashMap.getAdapted --- lib/std/hash_map.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/std/hash_map.zig b/lib/std/hash_map.zig index 3a976af8de..3a3c30bdf8 100644 --- a/lib/std/hash_map.zig +++ b/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); }