rust/src/libcoretest
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
..
fmt std: Stabilize std::fmt 2014-11-18 21:16:22 -08:00
num Move FromStr to core::str 2014-11-16 12:41:55 +11:00
any.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
atomic.rs Register new snapshots 2014-10-10 22:09:49 -07:00
cell.rs impl Default for Cell and RefCell 2014-11-14 22:22:42 +03:00
char.rs core: Add Char::len_utf16 2014-11-21 13:17:09 -08:00
clone.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
cmp.rs Remove Signed trait and add SignedInt trait 2014-11-13 03:46:03 +11:00
finally.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
iter.rs add Cloned iterator adaptor 2014-11-18 08:34:44 -05:00
lib.rs Put slicing syntax behind a feature gate. 2014-10-07 15:49:53 +13:00
mem.rs Clean up rustc warnings. 2014-10-13 14:16:22 +08:00
ops.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
option.rs make cloned generic over deref... and have its tests actually run 2014-11-18 08:34:42 -05:00
ptr.rs Remove a large amount of deprecated functionality 2014-10-19 12:59:40 -07:00
raw.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00
result.rs Rename fail! to panic! 2014-10-29 11:43:07 -04:00
slice.rs Add methods to go from a slice iterators to a slice. 2014-11-25 17:10:32 +11:00
str.rs Add Utf16Encoder. Generalize Utf16CodeUnits for any Iterator<char>. 2014-11-20 14:05:28 +00:00
tuple.rs Extract tests from libcore to a separate crate 2014-06-29 15:57:21 -07:00