rust/src/libcore
bors 5938eba4e3 Auto merge of #38149 - bluss:is-empty, r=alexcrichton
Forward more ExactSizeIterator methods and `is_empty` edits

- Forward ExactSizeIterator methods in more places, like `&mut I` and `Box<I>` iterator impls.
- Improve `VecDeque::is_empty` itself (see commit 4)
- All the collections iterators now have `len` or `is_empty` forwarded if doing so is a benefit. In the remaining cases, they already use a simple size hint (using something like a stored `usize` value), which is sufficient for the default implementation of len and is_empty.
2016-12-07 07:15:31 +00:00
..
fmt Make core::fmt::Void a non-empty type. 2016-11-28 21:22:41 +08:00
hash reference full path DefaultHasher 2016-11-04 17:07:28 +08:00
iter Auto merge of #38149 - bluss:is-empty, r=alexcrichton 2016-12-07 07:15:31 +00:00
num Implement ops on &Wrapping<T> 2016-10-23 14:29:37 +01:00
prelude Run rustfmt on libcore/prelude folder 2016-10-16 22:13:04 +05:30
str core: Forward ExactSizeIterator::is_empty for Bytes 2016-12-04 15:46:36 +01:00
sync Prevent exhaustive matching of Ordering to allow for future extension 2016-10-23 11:56:51 +01:00
any.rs Add stable example to TypeId 2016-10-17 17:49:07 -07:00
array.rs std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
borrow.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
Cargo.toml rustbuild: Point to core and collections's external benchmarks. 2016-11-25 23:10:43 +01:00
cell.rs std: Stabilize and deprecate APIs for 1.13 2016-10-03 10:34:34 -07:00
char.rs Use "radices" instead of "radicum" 2016-11-23 08:49:35 -05:00
char_private.rs Fix fmt::Debug for strings, e.g. for Chinese characters 2016-11-18 14:45:59 +01:00
clone.rs Remove stage0 hacks 2016-09-28 23:17:56 +00:00
cmp.rs Merge branch 'master' of https://github.com/rust-lang/rust 2016-11-01 15:26:22 +01:00
convert.rs Fix a few links in the docs 2016-10-21 00:49:47 +01:00
default.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
internal_macros.rs Implement ops on &Wrapping<T> 2016-10-23 14:29:37 +01:00
intrinsics.rs Add documentation for some of the add/sub/mul intrinsics 2016-11-08 22:03:27 -05:00
iter_private.rs Expand .zip() specialization to .map() and .cloned() 2016-10-17 10:58:21 +02:00
lib.rs Update the bootstrap compiler 2016-11-30 10:38:08 -08:00
macros.rs Fix invalid src url 2016-11-12 00:30:53 +01:00
marker.rs Add missing urls for marker's traits 2016-11-10 23:13:37 +01:00
mem.rs Add missing urls for mem module 2016-11-11 18:50:54 +01:00
nonzero.rs Use #[prelude_import] in libcore. 2016-08-24 22:12:23 +00:00
ops.rs Auto merge of #37356 - cristicbz:wrapsum, r=alexcrichton 2016-11-04 14:14:48 -07:00
option.rs Add cloned example for Option 2016-11-30 09:44:33 -08:00
panicking.rs Mark all extern functions as nounwind 2015-09-14 11:36:09 +02:00
ptr.rs core::ptr: Specify issue for ptr_wrapping_offset feature 2016-11-04 00:16:04 +01:00
raw.rs Clean up std::raw docs 2016-08-05 17:52:37 -04:00
result.rs Auto merge of #37306 - bluss:trusted-len, r=alexcrichton 2016-11-04 10:40:30 -07:00
slice.rs Overload get{,_mut}{,_unchecked} 2016-11-26 10:07:39 -08:00
tuple.rs Remove macro work-around. 2016-11-12 12:47:13 -07:00