| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-09-03 | specialize creating a Vec from a slice iterator where T: Copy | The8472 | -0/+14 | |
| this was already implemented for Extend but not for FromIterator | ||||
| 2020-09-03 | restore SpecFrom<T, TrustedLen<Item=T>> specialization by nesting | The8472 | -1/+29 | |
| specializations | ||||
| 2020-09-03 | use From specializations on extend if extended Vec is empty | The8472 | -3/+25 | |
| this enables in-place iteration and allocation reuse in additional cases | ||||
| 2020-09-03 | use memmove instead of generic in-place iteration for IntoIter source | The8472 | -2/+10 | |
| this is the original SpecExtend<_, IntoIter> logic except generalizing the fast-path to include a memmove | ||||
| 2020-09-03 | restore Vec::extend specialization for vec::IntoIter sources that | The8472 | -0/+9 | |
| was lost during refactoring | ||||
| 2020-09-03 | hide binary_heap::IntoIter internals behind impl Trait | The8472 | -1/+2 | |
| 2020-09-03 | recover vectorization | The8472 | -23/+54 | |
| switch to try_fold and segregate the drop handling to keep collect::<Vec<u8>>() and similar optimizer-friendly It comes at the cost of less accurate debug_asserts and code complexity | ||||
| 2020-09-03 | simplify pointer arithmetic | The8472 | -11/+15 | |
| 2020-09-03 | use add instead of offset | The8472 | -1/+1 | |
| 2020-09-03 | implement drop handling | The8472 | -7/+26 | |
| 2020-09-03 | assert that SourceIter requirements have not been violated by the pipeline | The8472 | -0/+2 | |
| 2020-09-03 | mark SourceIter as unsafe, document invariants | The8472 | -2/+2 | |
| 2020-09-03 | in-place collect for Vec. Box<[]> and BinaryHeap IntoIter and some adapters | The8472 | -42/+112 | |
| 2020-09-03 | unrelated typo fix | The8472 | -1/+1 | |
| 2020-09-03 | Link & primitive using relative link | Ivan Tham | -0/+1 | |
| 2020-09-03 | Auto merge of #76235 - jyn514:std-intra-links, r=poliorcetics | bors | -10/+10 | |
| Convert many files to intra-doc links Helps with https://github.com/rust-lang/rust/issues/75080 r? @poliorcetics I recommend reviewing one commit at a time, but the diff is small enough you can do it all at once if you like :) | ||||
| 2020-09-02 | Revert change to MaybeUninit until rustdoc bugs are fixed | Joshua Nelson | -4/+4 | |
| https://github.com/rust-lang/rust/issues/76106 | ||||
| 2020-09-02 | Convert many files to intra-doc links | Joshua Nelson | -10/+10 | |
| - Use intra-doc links for `std::io` in `std::fs` - Use intra-doc links for File::read in unix/ext/fs.rs - Remove explicit intra-doc links for `true` in `net/addr.rs` - Use intra-doc links in alloc/src/sync.rs - Use intra-doc links in src/ascii.rs - Switch to intra-doc links in alloc/rc.rs - Use intra-doc links in core/pin.rs - Use intra-doc links in std/prelude - Use shorter links in `std/fs.rs` `io` is already in scope. | ||||
| 2020-09-02 | Same typos in vec_deque | Anton | -2/+2 | |
| 2020-09-02 | Fix typos in vec try_reserve(_exact) docs | Anton | -3/+3 | |
| `try_reserve` and `try_reserve_exact` docs refer to calling `reserve` and `reserve_exact`. `try_reserve_exact` example uses `try_reserve` method instead of `try_reserve_exact`. | ||||
| 2020-09-01 | Use intra-doc links for `MaybeUninit` in `boxed.rs` | Joshua Nelson | -4/+4 | |
| 2020-09-01 | Will land in 1.48, not 1.47 | Jon Gjengset | -1/+1 | |
| 2020-09-01 | Merge branch 'master' into stabilize-vecdeque-make_contiguous | Jon Gjengset | -980/+3744 | |
| 2020-09-01 | Removed [inline] and copied over comments from Arc::new_cyclic | mental | -1/+11 | |
| 2020-08-31 | Rollup merge of #76139 - CDirkx:cow-is-borrowed, r=ecstatic-morse | Tyler Mandry | -2/+2 | |
| Make `cow_is_borrowed` methods const Constify the following methods of `alloc::borrow::Cow`: - `is_borrowed` - `is_owned` Analogous to the const methods `is_some` and `is_none` for Option, and `is_ok` and `is_err` for Result. These methods are still unstable under `cow_is_borrowed`. Possible because of #49146 (Allow if and match in constants). Tracking issue: #65143 | ||||
| 2020-08-31 | Rollup merge of #76069 - pickfire:patch-16, r=jyn514 | Aleksey Kladov | -3/+1 | |
| Use explicit intra-doc link in path for Vec resize r? @jyn514 | ||||
| 2020-08-31 | Rollup merge of #76058 - pickfire:patch-11, r=jyn514 | Aleksey Kladov | -2/+3 | |
| Use assertions on Vec doc Clarify what the state of Vec after with_capacity on doc. r? @jyn514 | ||||
| 2020-08-31 | Rollup merge of #76055 - pickfire:patch-9, r=jyn514 | Aleksey Kladov | -1/+4 | |
| Keep doc standard for Vec DrainFilter r? @jyn514 | ||||
| 2020-08-31 | Rollup merge of #76033 - camelid:patch-7, r=Dylan-DPC | Aleksey Kladov | -1/+1 | |
| Add missing hyphen reference counted pointer -> reference-counted pointer @rustbot modify labels: T-doc | ||||
| 2020-08-31 | Rollup merge of #76023 - pickfire:patch-4, r=jyn514 | Aleksey Kladov | -1/+1 | |
| Liballoc extend use intra doc link Superseeds https://github.com/rust-lang/rust/pull/75729/commits r? @jyn514 | ||||
| 2020-08-31 | Make `cow_is_borrowed` methods const | CDirkx | -2/+2 | |
| Constify the following methods of `alloc::borrow::Cow`: - `is_borrowed` - `is_owned` These methods are still unstable under `cow_is_borrowed`. Possible because of #49146 (Allow if and match in constants). Tracking issue: #65143 | ||||
| 2020-08-30 | Try removing [prim@reference] | Ivan Tham | -1/+1 | |
| 2020-08-30 | Rollup merge of #75874 - pickfire:patch-3, r=jyn514 | Dylan DPC | -3/+1 | |
| Shorten liballoc doc intra link while readable r? @jyn514 Do you want to reviews these sort of pull requests in the future? I might send a few of them while reading vec code. | ||||
| 2020-08-29 | Remove empty vec assertion flow distrupt | Ivan Tham | -1/+0 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-08-29 | Reuse description from drain_filter | Ivan Tham | -1/+1 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-08-29 | Use explicit intra-doc link in path for Vec resize | Ivan Tham | -3/+1 | |
| 2020-08-29 | Vec slice example fix style and show type elision | Ivan Tham | -1/+1 | |
| 2020-08-29 | Link vec doc to & reference | Ivan Tham | -1/+1 | |
| It is not always obvious that people could see the docs for `&` especially for beginners, it also helps learnability. | ||||
| 2020-08-29 | Use assertions on Vec doc | Ivan Tham | -2/+4 | |
| Clarify what the state of Vec after with_capacity on doc. | ||||
| 2020-08-29 | Add more info for Vec Drain doc | Ivan Tham | -0/+1 | |
| See its documentation for more | ||||
| 2020-08-29 | Remove brackets in drain filter docs | Ivan Tham | -1/+1 | |
| 2020-08-29 | Keep doc standard for Vec DrainFilter | Ivan Tham | -1/+4 | |
| 2020-08-29 | Liballoc vec doc use associated function | Ivan Tham | -0/+2 | |
| Co-authored-by: Joshua Nelson <joshua@yottadb.com> | ||||
| 2020-08-29 | typo | mental | -1/+1 | |
| Co-authored-by: Andrew Hickman <andrew.hickman1@sky.com> | ||||
| 2020-08-28 | Add missing hyphen | Camelid | -1/+1 | |
| reference counted pointer -> reference-counted pointer | ||||
| 2020-08-28 | Liballoc extend use intra doc link | Ivan Tham | -2/+0 | |
| 2020-08-27 | Add PartialEq impls for Vec <-> slice | Matt Brubeck | -0/+2 | |
| 2020-08-27 | `impl Rc::new_cyclic` | mental32 | -0/+100 | |
| 2020-08-27 | Rollup merge of #75875 - pickfire:patch-4, r=jyn514 | Dylan DPC | -5/+3 | |
| Shorten liballoc vec resize intra-doc link r? @jyn514 | ||||
| 2020-08-26 | Auto merge of #75687 - TimDiekmann:realloc-align, r=Amanieu | bors | -40/+66 | |
| Allow reallocation to different alignment in `AllocRef` The allocator-wg [has decided](https://github.com/rust-lang/wg-allocators/issues/5#issuecomment-672591112) to support reallocating to a different alignment in `AllocRef`. For more details please see the linked issue. r? @Amanieu closes https://github.com/rust-lang/wg-allocators/issues/5 | ||||
