commit 6953c8544b68c788dca4ed065e4a15eccbd4446b (tree)
parent fc9430f56798a53f9393a697f4ccd6bf9981b970
Author: Martin Wickham <spexguy070@gmail.com>
Date: Thu, 3 Jun 2021 17:58:06 -0500
Fix return type of HashMap.getAdapted
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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);
}