rust/library/alloc
bors 5c1304205b Auto merge of #84135 - rust-lang:GuillaumeGomez-patch-1, r=kennytm
Improve code example for length comparison

Small fix/improvement: it's much safer to check that you're under the length of an array rather than chacking that you're equal to it. It's even more true in case you update the length of the array while iterating.
2021-04-13 14:03:49 +00:00
..
benches Try to make Vec benchmarks only run code they are benchmarking 2021-03-25 00:14:00 -04:00
src Auto merge of #84135 - rust-lang:GuillaumeGomez-patch-1, r=kennytm 2021-04-13 14:03:49 +00:00
tests Rollup merge of #83827 - the8472:fix-inplace-panic-on-drop, r=RalfJung 2021-04-04 19:20:06 +02:00
Cargo.toml