about summary refs log tree commit diff
path: root/library/alloc/src/vec.rs
AgeCommit message (Collapse)AuthorLines
2020-08-29Use assertions on Vec docIvan Tham-2/+4
Clarify what the state of Vec after with_capacity on doc.
2020-08-29Add more info for Vec Drain docIvan Tham-0/+1
See its documentation for more
2020-08-29Remove brackets in drain filter docsIvan Tham-1/+1
2020-08-29Keep doc standard for Vec DrainFilterIvan Tham-1/+4
2020-08-29Liballoc vec doc use associated functionIvan Tham-0/+2
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-28Liballoc extend use intra doc linkIvan Tham-2/+0
2020-08-27Add PartialEq impls for Vec <-> sliceMatt Brubeck-0/+2
2020-08-24Shorten liballoc vec resize intra-doc linkIvan Tham-5/+3
2020-08-24Shorten liballoc doc intra link while readableIvan Tham-3/+1
2020-08-20Rollup merge of #75672 - kofls:intradoc-fix, r=jyn514Josh Stone-45/+29
Move to intra-doc links for task.rs and vec.rs Partial fix for #75080 links for [`get`], [`get_mut`] skipped due to #75643 link for [`copy_from_slice`] skipped due to #63351
2020-08-19Apply suggestions from code reviewSurya Midatala-13/+12
2020-08-18Don't panic in Vec::shrink_to_fitJosh Stone-1/+4
2020-08-18Move to intra-doc links for task.rs and vec.rsSurya Midatala-33/+18
2020-08-16Replace ad hoc implementations with `slice::check_range`dylni-31/+2
2020-08-14Rollup merge of #74185 - pickfire:liballoc-iter-doc, r=jyn514Tyler Mandry-12/+3
Remove liballoc unneeded explicit link
2020-08-14Update liballoc vec doc linkIvan Tham-8/+3
2020-08-14Update src/liballoc/vec.rsIvan Tham-1/+0
Co-authored-by: Joshua Nelson <joshua@yottadb.com>
2020-08-14Remove liballoc unneeded explicit linkIvan Tham-3/+0
2020-08-11Fix range term in alloc vec docIvan Tham-1/+1
`range` is not an element, it is a variable.
2020-08-10Liballoc DoubleEndedIterator limit unsafe to pointer arithmethicIvan Tham-15/+11
2020-08-10Liballoc IntoIter limit unsafe to pointer arithmethicIvan Tham-18/+14
2020-08-10Liballoc tweak use *const T instead of *const i8Ivan Tham-1/+1
*const T is also used in the same parts and also used for arith_offset.
2020-08-02Auto merge of #75033 - Manishearth:rollup-d8afil1, r=Manishearthbors-1/+42
Rollup of 5 pull requests Successful merges: - #74602 (Clarify the doc for MaybeUninit::zeroed on incorrect use) - #74720 (Clean up E0728 explanation) - #74992 (fix rustdoc generic param order) - #75015 (Add Vec::spare_capacity_mut) - #75022 (Use a slice pattern instead of rchunks_exact(_).next()) Failed merges: r? @ghost
2020-08-01Add Vec::spare_capacity_mutAmanieu d'Antras-1/+42
2020-07-29Stabilize `Vec::leak`Simon Sapin-3/+1
2020-07-29Make `Vec::leak` a method instead of an associated function.Simon Sapin-3/+3
The reason for `Box::leak` not to be a method (`Deref` to an arbitrary `T` which might have its own, different `leak` method) does not apply.
2020-07-27mv std libs to library/mark-0/+3122