rust/src/libcollections
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
..
btree std: Correct stability attributes for some implementations 2016-10-01 23:58:14 +01:00
binary_heap.rs binary_heap: Forward ExactSizeIterator::is_empty 2016-12-04 15:46:36 +01:00
borrow.rs Rollup merge of #37587 - ollie27:to_mut, r=alexcrichton 2016-11-05 10:50:25 -07:00
Cargo.toml rustbuild: Point to core and collections's external benchmarks. 2016-11-25 23:10:43 +01:00
enum_set.rs Add a tracking issue for enum_set 2016-11-23 10:55:44 -08:00
fmt.rs Changed 0 into '0' 2016-10-11 01:25:50 +02:00
lib.rs Overload get{,_mut}{,_unchecked} 2016-11-26 10:07:39 -08:00
linked_list.rs Ignore lots and lots of std tests on emscripten 2016-09-30 14:02:48 -07:00
macros.rs Add link to format! docs 2016-09-29 00:02:02 +02:00
range.rs Remove needless imports in libcollections. 2016-08-24 22:13:13 +00:00
slice.rs Overload get{,_mut}{,_unchecked} 2016-11-26 10:07:39 -08:00
str.rs Rollup merge of #36699 - bluss:repeat-str, r=alexcrichton 2016-10-11 17:51:26 +02:00
string.rs Remove redundant assertion near is_char_boundary. 2016-12-03 12:14:39 -05:00
vec.rs core, collections: Implement better .is_empty() for slice and vec iterators 2016-11-23 02:31:41 +01:00
vec_deque.rs collections: Simplify VecDeque::is_empty 2016-12-04 15:46:36 +01:00