Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upImplement IntoIterator for Events #682
Comments
carllerche
added
the
help wanted
label
Aug 19, 2017
alexcrichton
closed this
in
#693
Aug 21, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
dtolnay commentedAug 19, 2017
The standard library typically implements IntoIterator<Item = T> for Collection<T> and IntoIterator<Item = &T> for &Collection<T>. In mio, Events has the second but not the first.
The owned iterator can be more convenient in some situations, like putting into a struct.