From: Alex Crichton Date: Wed, 17 Dec 2014 16:33:58 +0000 (-0800) Subject: rollup merge of #19770: csouth3/iterator-wrapperstructs X-Git-Url: https://git.lizzy.rs/?a=commitdiff_plain;h=974e17b9ea63b38b4a512742fc877a7e4ee94e03;p=rust.git rollup merge of #19770: csouth3/iterator-wrapperstructs Using a type alias for iterator implementations is fragile since this exposes the implementation to users of the iterator, and any changes could break existing code. This PR changes the iterators of `BTreeMap`, `BTreeSet`, `HashMap`, and `HashSet` to use proper new types, rather than type aliases. However, since it is fair-game to treat a type-alias as the aliased type, this is a: [breaking-change]. --- 974e17b9ea63b38b4a512742fc877a7e4ee94e03