authorgravatar for spexguy070@gmail.comMartin Wickham <spexguy070@gmail.com> 2021-06-03 17:58:06-05:00
committergravatar for spexguy070@gmail.comMartin Wickham <spexguy070@gmail.com> 2021-06-03 17:58:06-05:00
log6953c8544b68c788dca4ed065e4a15eccbd4446b
treeae007106526e300bb7143be003fe8d847ba7230c
parentfc9430f56798a53f9393a697f4ccd6bf9981b970

Fix return type of HashMap.getAdapted


1 files changed, 1 insertions(+), 1 deletions(-)

lib/std/hash_map.zig+1-1
...@@ -541,7 +541,7 @@ pub fn HashMap(...@@ -541,7 +541,7 @@ pub fn HashMap(
541 pub fn get(self: Self, key: K) ?V {541 pub fn get(self: Self, key: K) ?V {
542 return self.unmanaged.getContext(key, self.ctx);542 return self.unmanaged.getContext(key, self.ctx);
543 }543 }
544 pub fn getAdapted(self: Self, key: anytype, ctx: anytype) ?*V {544 pub fn getAdapted(self: Self, key: anytype, ctx: anytype) ?V {
545 return self.unmanaged.getAdapted(key, ctx);545 return self.unmanaged.getAdapted(key, ctx);
546 }546 }
547547