| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-09-18 | Move to intra-doc links | Denis Vasilik | -21/+27 | |
| 2020-09-15 | fix slice::check_range aliasing problems | Ralf Jung | -5/+1 | |
| 2020-09-09 | Rollup merge of #76504 - Flying-Toast:master, r=lcnr | Tyler Mandry | -1/+1 | |
| Capitalize safety comments | ||||
| 2020-09-08 | Capitalize safety comments | Flying-Toast | -1/+1 | |
| 2020-09-08 | Update library/alloc/src/collections/vec_deque.rs | Braden Nelson | -1/+1 | |
| Replace lshift with multiply Co-authored-by: Mara Bos <m-ou.se@m-ou.se> | ||||
| 2020-09-08 | Convert MAXIMUM_ZST_CAPACITY to be calculated in a | moonheart08 | -6/+2 | |
| const instead of multiple target_pointer_width checks. | ||||
| 2020-09-04 | Auto merge of #75207 - dylni:add-slice-check-range, r=KodrAus | bors | -26/+13 | |
| Add `slice::check_range` This method is useful for [`RangeBounds`] parameters. It's even been [rewritten](https://github.com/rust-lang/rust/blob/22ee68dc586440f96b76b32fbd6087507c6afdb9/src/librustc_data_structures/sorted_map.rs#L214) [many](https://github.com/rust-lang/rust/blob/22ee68dc586440f96b76b32fbd6087507c6afdb9/library/alloc/src/vec.rs#L1299) [times](https://github.com/rust-lang/rust/blob/22ee68dc586440f96b76b32fbd6087507c6afdb9/library/core/src/slice/mod.rs#L2441) in the standard library, sometimes assuming that the bounds won't be [`usize::MAX`]. For example, [`Vec::drain`] creates an empty iterator when [`usize::MAX`] is used as an inclusive end bound: ```rust assert!(vec![1].drain(..=usize::max_value()).eq(iter::empty())); ``` If this PR is merged, I'll create another to use it for those methods. [`RangeBounds`]: https://doc.rust-lang.org/std/ops/trait.RangeBounds.html [`usize::MAX`]: https://doc.rust-lang.org/std/primitive.usize.html#associatedconstant.MAX [`Vec::drain`]: https://doc.rust-lang.org/std/vec/struct.Vec.html#method.drain | ||||
| 2020-09-02 | Same typos in vec_deque | Anton | -2/+2 | |
| 2020-09-01 | Will land in 1.48, not 1.47 | Jon Gjengset | -1/+1 | |
| 2020-08-24 | Add more information to safety comment | dylni | -1/+3 | |
| 2020-08-16 | Replace ad hoc implementations with `slice::check_range` | dylni | -26/+11 | |
| 2020-07-28 | Stabilize deque_make_contiguous | Jon Gjengset | -5/+8 | |
| Closes #70929. | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+3117 | |
