rust/library/alloc/src
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
..
alloc
collections Stabilize BTree{Map,Set}::retain 2021-04-12 00:01:31 -07:00
prelude
raw_vec
rc
sync
vec Improve code example for length comparison 2021-04-12 19:59:52 +02:00
alloc.rs
borrow.rs
boxed.rs fix incorrect from_raw_in doctest 2021-04-10 12:24:19 +02:00
fmt.rs Auto merge of #78618 - workingjubilee:ieee754-fmt, r=m-ou-se 2021-03-27 10:40:16 +00:00
lib.rs Bump cfgs 2021-04-04 14:57:05 -04:00
macros.rs
raw_vec.rs fmt, change to cold 2021-03-21 19:17:07 -04:00
rc.rs Rollup merge of #83476 - mystor:rc_mutate_strong_count, r=m-ou-se 2021-04-07 13:07:06 +02:00
slice.rs adjust documentation links for slice ascii case functions to use newer rustdoc link format 2021-03-27 14:15:42 -04:00
str.rs Auto merge of #81728 - Qwaz:fix-80335, r=joshtriplett 2021-03-28 06:32:34 +00:00
string.rs Rollup merge of #82554 - SkiFire13:fix-string-retain-unsoundness, r=m-ou-se 2021-03-22 02:20:27 +01:00
sync.rs panic early when TrustedLen indicates a length > usize::MAX 2021-03-31 23:09:28 +02:00
task.rs
tests.rs