]> git.lizzy.rs Git - rust.git/commit
proc_macro: Generalize `FromIterator` impl
authorAlex Crichton <alex@alexcrichton.com>
Fri, 6 Apr 2018 14:44:21 +0000 (07:44 -0700)
committerAlex Crichton <alex@alexcrichton.com>
Fri, 6 Apr 2018 20:01:14 +0000 (13:01 -0700)
commitd985344b933f2ccc07602fdf86fda94bc3e643cf
treef98a1ec949da99e5497ea48a77733baf087583f9
parenta143462783cec88b7b733e8aa09990bfeb59f754
proc_macro: Generalize `FromIterator` impl

While never intended to be stable we forgot that trait impls are insta-stable!
This construction of `FromIterator` wasn't our first choice of how to stabilize
the impl but our hands are tied at this point, so revert back to the original
definition of `FromIterator` before #49597

Closes #49725
src/libproc_macro/lib.rs