The HashMap type does not have a retain method like the one in Vec.
The HashMap type does not have a retain method like the one in Vec.