]> git.lizzy.rs Git - rust.git/commit
Add ExactSizeIterator impls for Hash{Map, Set, Table}
authorChase Southwood <chase.southwood@gmail.com>
Sun, 11 Jan 2015 02:07:42 +0000 (20:07 -0600)
committerChase Southwood <chase.southwood@gmail.com>
Sun, 11 Jan 2015 02:07:42 +0000 (20:07 -0600)
commitc05338793b39539121ce9117d1b341d6529948ba
treebf4cc55ff1f3e5c79086da9fa3d9b64557852973
parent099b411e080d302ec0dc5f3aebe53d76c50acfc7
Add ExactSizeIterator impls for Hash{Map, Set, Table}

This commit also changes the return types of all `size_hint()` impls
in these files from (uint, Option<uint>) to (usize, Option<usize>).
src/libstd/collections/hash/map.rs
src/libstd/collections/hash/set.rs
src/libstd/collections/hash/table.rs