rust/src/liballoc
Dylan DPC c185c4fe47
Rollup merge of #70776 - RalfJung:raw-vec, r=Dylan-DPC,TimDiekmann
clarify comment in RawVec::into_box

On first reading I almost thought "len <= cap" would be all that there is to check here. Expand the comment to clarify that that is not the case.
2020-04-05 13:13:13 +02:00
..
alloc Make fields in MemoryBlock public 2020-03-28 20:22:07 +01:00
benches BTreeMap/BTreeSet: implement and test drain_filter 2020-03-29 16:05:53 +02:00
collections use ManuallyDrop instead of forget inside collections 2020-04-04 14:30:33 +02:00
prelude Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
raw_vec Remove alignment from MemoryBlock 2020-03-26 17:14:12 +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 #70558 - RalfJung:vec-extend-aliasing, r=Amanieu 2020-04-05 13:13:08 +02:00
alloc.rs Implement init and init_offset on AllocInit and mark it unsafe 2020-03-29 01:47:05 +01:00
borrow.rs Format the world 2019-12-22 17:42:47 -05:00
boxed.rs use ManuallyDrop instead of forget inside collections 2020-04-04 14:30:33 +02:00
Cargo.toml bump rand to fix Miri failures 2019-08-04 14:50:26 +02:00
fmt.rs Add note about localization to std::fmt docs 2020-03-09 12:31:33 -04:00
lib.rs Fix issues from review and unsoundness of RawVec::into_box 2020-03-26 17:11:47 +01:00
macros.rs expand vec![] to Vec::new() 2020-03-31 21:37:13 +02:00
raw_vec.rs clarify safety in RawVec::into_box 2020-04-05 12:09:03 +02:00
rc.rs Make fields in MemoryBlock public 2020-03-28 20:22:07 +01:00
slice.rs Replace max/min_value() with MAX/MIN assoc consts 2020-04-03 09:33:10 +02:00
str.rs Replace max/min_value() with MAX/MIN assoc consts 2020-04-03 09:33:10 +02:00
string.rs Optimize strip_prefix and strip_suffix with str patterns 2020-03-30 11:10:21 -04:00
sync.rs Make fields in MemoryBlock public 2020-03-28 20:22:07 +01:00
task.rs Fix link in task::Wake docs 2020-04-03 11:33:27 +02:00
tests.rs Format liballoc with rustfmt 2019-11-29 20:25:07 -08:00
vec.rs Rollup merge of #70558 - RalfJung:vec-extend-aliasing, r=Amanieu 2020-04-05 13:13:08 +02:00