Small cleanups in HashMap based off of new rust features.

r? @Gankro @pczarn
I love comments! \o/