]> git.lizzy.rs Git - rust.git/commit
hashset: Clean up and rename the HashSet iterators
authorbluss <bluss>
Fri, 19 Dec 2014 20:54:50 +0000 (21:54 +0100)
committerbluss <bluss>
Fri, 19 Dec 2014 20:54:50 +0000 (21:54 +0100)
commitcf350ea5eb562fcfb67775ad4d847e441a8006a4
treeee9d0adb2276f1f9be811868a73ea229987b25db
parent22a9f250b5e2de64c13c0f056aec13eb086ef79d
hashset: Clean up and rename the HashSet iterators

This removes the type SetAlgebraItems and replaces it with the
structs Intersection and Difference.

Rename the existing HashSet iterators according to RFC #344:

* SetItems -> Iter
* SetMoveItems -> IntoIter
* Remaining set combination iterators renamed to Union and SymmetricDifference

[breaking-change]
src/libstd/collections/hash/set.rs