bors 0c1d853fba auto merge of #18966 : huonw/rust/iter2slice, r=aturon
A slice iterator is isomorphic to a slice, just with a slightly
different form: storing start and end pointers rather than start pointer
and length. This patch reflects this by making converting between them
as easy as `iter.as_slice()` (or even `iter[]` if the shorter lifetime
is ok). That is, `slice.iter().as_slice() == slice`.

r? @aturon
2014-11-25 06:51:38 +00:00
..
2014-11-18 20:22:13 -08:00
2014-11-19 12:53:23 -05:00
2014-11-17 14:35:27 -05:00
2014-11-20 00:05:00 -08:00
2014-11-17 07:35:51 -08:00
2014-11-17 22:41:33 +13:00
2014-11-17 11:26:30 -08:00
2014-11-18 21:16:22 -08:00
2014-11-16 16:51:22 -08:00
2014-11-20 00:05:00 -08:00
2014-11-20 23:45:42 +05:30
2014-11-17 07:35:51 -08:00
2014-11-22 22:13:00 -05:00