Ha, we hate them too, which is why we're so eager to finalize their design so that we can replace all of that hideous garbage with just `impl Iterator`. :)
And who knows, it might happen for 1.0 if enough people push on the design and are willing to put in the legwork of implementing it.
thanks for your hard work. Sometimes we take simplicity for granted!
What is that, if I may ask?
Re:Rust 1.0: Scheduling the trains
by mitchmindtree on Friday December 12, 2014 @05:59PM
(#8743232)
That particular type is an Iterator over two HashSet intersections zipped together. I'm looking forward to getting rid of it!
``` core::iter::Zip<core::iter::FilterMap<'_, (&std::collections::hash::set::HashSet<attr::Attribute>, &attr::Attribute), &attr::Attribute, core::iter::Zip<core::iter::Repeat<&std::collections::hash::set::HashSet<attr::Attribute>>, core::iter::Map<'_, (&attr::Attribute, &()), &attr::Attribute, std::collections::hash::map::Entries<'_, attr::Attribute, ()>>>>, core::iter::FilterMap<'_, (&std::collections::hash::set::HashSet<attr::Attribute>, &attr::Attribute), &attr::Attribute, core::iter::Zip<core::iter::Repeat<&std::collections::hash::set::HashSet<attr::Attribute>>, core::iter::Map<'_, (&attr::Attribute, &()), &attr::Attribute, std::collections::hash::map::Entries<'_, attr::Attribute, ()>>>>> ``