Comment by esterna
12 hours ago
> All type parameters have an implicit bound of Sized. The special syntax ?Sized can be used to remove this bound if it’s not appropriate.
, which HashMap does not do, i.e. the keys and values have to have a statically known size.
No comments yet
Contribute on Hacker News ↗