logoalt Hacker News

esternayesterday at 8:10 PM0 repliesview on HN

> 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.