Files
rust/src/libcore
Dylan DPC d276e6942e Rollup merge of #68348 - xfix:patch-14, r=nagisa
Make iter::Empty<T> Send and Sync for any T

Continuing from #57682

It's quite funny, when I initially submitted this pull request, I said "Likely nobody will be using that property of `iter::empty`", but then a year later I got a compilation error because it wasn't `Send` and `Sync`.

Unfortunately, `PhantomData<fn() -> T>` still errors out. Oh well. I proposed `
struct PhantomFnWorkaround<T>(fn() -> T);`, but dtolnay did not like it, so using explicit implementations.
2020-01-19 17:22:09 +05:30
..
2019-12-22 17:42:47 -05:00
2019-12-22 17:42:47 -05:00
2020-01-06 04:33:31 +00:00
2020-01-06 01:55:24 +00:00
2019-11-26 23:02:11 -08:00
2020-01-16 18:50:53 -08:00
2020-01-11 16:59:15 +01:00
2019-11-26 23:02:11 -08:00
2019-12-22 17:42:47 -05:00
2020-01-16 18:32:21 -08:00
2020-01-08 07:10:28 +03:00
2019-11-26 23:02:11 -08:00
2020-01-06 04:33:31 +00:00
2019-12-22 17:42:47 -05:00
2019-11-26 23:02:11 -08:00
2019-11-26 23:02:11 -08:00