Comment Comment by esterna > 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. parent esterna 2 months ago
, which HashMap does not do, i.e. the keys and values have to have a statically known size.