mirror of
https://github.com/ziglang/zig.git
synced 2026-01-20 22:35:24 +00:00
Switch type of HashMap's count from usize to u32 (#6262)
This commit is contained in:
parent
42b1b6be90
commit
edc40157eb
@ -113,7 +113,7 @@ pub fn HashMap(
|
||||
return self.unmanaged.clearAndFree(self.allocator);
|
||||
}
|
||||
|
||||
pub fn count(self: Self) usize {
|
||||
pub fn count(self: Self) Size {
|
||||
return self.unmanaged.count();
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user