removed use of transmute and C void pointer in rust code of the HashMap example