Switch type of HashMap's count from usize to u32 (#6262)

This commit is contained in:
Zachary Meadows
2020-09-08 10:41:05 -07:00
committed by Andrew Kelley
parent 42b1b6be90
commit edc40157eb

View File

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