Fix return type of HashMap.getAdapted

This commit is contained in:
Martin Wickham 2021-06-03 17:58:06 -05:00
parent fc9430f567
commit 6953c8544b

View File

@ -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);
}