update iterator types and fn pointers to Rust master

Because the latest rustc is the worst. See: `rustc:src/libstd/collections/hash/map.rs` search for `fn keys`