rust/src/liballoc
Dylan DPC 8ca3e59f8a
Rollup merge of #69650 - matthiaskrgr:clnp, r=varkor
cleanup more iterator usages (and other things)

* Improve weird formatting by moving comment inside else-code block.
* Use .any(x) instead of .find(x).is_some() on iterators.
* Use .nth(x) instead of .skip(x).next() on iterators.
* Simplify conditions like  x + 1 <= y   to   x < y
* Use let instead of match to get value of enum with single variant.
2020-03-03 21:26:13 +01:00
..
alloc Remove usable_size APIs 2020-03-03 00:08:24 +01:00
benches Auto merge of #68827 - ssomers:btree_navigation_revisited, r=Mark-Simulacrum 2020-02-28 09:32:34 +00:00
collections Simplify conditions like x + 1 <= y to x < y 2020-03-03 01:00:32 +01:00
prelude Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
raw_vec Remove usable_size APIs 2020-03-03 00:08:24 +01:00
rc Format the world 2019-12-22 17:42:47 -05:00
sync Format the world 2019-12-22 17:42:47 -05:00
tests Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu 2020-03-03 17:50:06 +09:00
alloc.rs Remove usable_size APIs 2020-03-03 00:08:24 +01:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
boxed.rs Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu 2020-03-03 17:50:06 +09:00
Cargo.toml bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
fmt.rs Remove redundant link texts 2019-12-26 05:04:46 -08:00
lib.rs Add #![doc(html_playground_url = ...)] to alloc crate 2020-01-30 21:14:39 +00:00
macros.rs Scope format! temporaries 2019-09-27 17:36:45 -04:00
raw_vec.rs Remove usable_size APIs 2020-03-03 00:08:24 +01:00
rc.rs Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu 2020-03-03 17:50:06 +09:00
slice.rs reuse capacity variable in slice::repeat 2019-12-24 12:44:05 +08:00
str.rs Format the world 2019-12-22 17:42:47 -05:00
string.rs Change FromStr for String to use Infallible directly 2020-02-19 16:37:58 -05:00
sync.rs Rollup merge of #69609 - TimDiekmann:excess, r=Amanieu 2020-03-03 17:50:06 +09:00
tests.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
vec.rs Rollup merge of #69568 - JOE1994:patch-2, r=Dylan-DPC 2020-03-01 17:23:29 +01:00