mirror of
https://codeberg.org/ziglang/zig.git
synced 2025-12-06 05:44:20 +00:00
Switch type of HashMap's count from usize to u32 (#6262)
This commit is contained in:
parent
42b1b6be90
commit
edc40157eb
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Reference in a new issue