Closed dorjeduck closed 7 months ago
For Mojo 24.2.1, I assume the following line of the Dict struct of the generic_dict package,
self.values = List[V](capacity)
needs to change to
self.values = List[V](capacity=capacity)
otherwise capacity pops up as first value . Was wondering where this value 16 comes from in my prog ;-) (using GenericDict[Int])
created a PR for your convenience
For Mojo 24.2.1, I assume the following line of the Dict struct of the generic_dict package,
needs to change to
otherwise capacity pops up as first value . Was wondering where this value 16 comes from in my prog ;-) (using GenericDict[Int])