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
555: Add intersperse and intersperse_with free functions r=phimuemue a=zertosh
Aside from automatic parameter conversion using `IntoIterator`, having
`intersperse` and `intersperse_with` as free functions makes it easier for
downstream code to avoid the `unstable_name_collisions` lint because of
lib core's own similarly named `Iterator` methods.
rust-lang/rust#48919
Co-authored-by: Andres Suarez <zertosh@gmail.com>
0 commit comments