You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
IntoEnumIterator does not have a constraint on Iterator: Iterator<Item=Self>.
When writing generic code on any IntoEnumIterator, it forces us to write the very verbose:
where
<SelfasIntoEnumIterator>::Iterator:Iterator<Item = Self>,
IntoEnumIterator
does not have a constraint onIterator: Iterator<Item=Self>.
When writing generic code on any
IntoEnumIterator
, it forces us to write the very verbose:though that behaviour could be enforced as it is documented on the trait.
We could avoid having to write this by adding an
Iterator<Item=Self>
bound on the associated typeIterator
ofIntoEnumIterator
.The text was updated successfully, but these errors were encountered: