| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-08-07 | Auto merge of #75071 - ssomers:btree_cleanup_5, r=Mark-Simulacrum | bors | -53/+51 | |
| BTreeMap: enforce the panic rule imposed by `replace` Also, reveal the unsafe parts in the closures fed to it. r? @Mark-Simulacrum | ||||
| 2020-08-07 | BTreeMap: enforce the panic rule imposed by `replace` | Stein Somers | -53/+51 | |
| 2020-08-07 | BTreeMap: better way to postpone root access in DrainFilter | Stein Somers | -32/+25 | |
| 2020-08-07 | Change the comment of BTreeMap::into_values | Nazım Can Altınova | -1/+1 | |
| 2020-08-07 | Add `into_{keys,values}` methods for BTreeMap | Nazım Can Altınova | -0/+156 | |
| 2020-08-05 | Make IntoIterator lifetime bounds of &BTreeMap match with &HashMap | Nazım Can Altınova | -2/+2 | |
| 2020-08-05 | Add {Box,Rc,Arc}::new_zeroed_slice | Amos Onn | -0/+91 | |
| 2020-08-05 | Use alloc_zeroed in {Rc,Arc}::new_zeroed | Amos Onn | -30/+48 | |
| 2020-08-04 | Replace `Memoryblock` with `NonNull<[u8]>` | Tim Diekmann | -40/+45 | |
| 2020-08-04 | Consistent variable name alloc for raw_vec | Ivan Tham | -4/+6 | |
| 2020-08-04 | Auto merge of #74850 - TimDiekmann:remove-in-place-alloc, r=Amanieu | bors | -106/+123 | |
| Remove in-place allocation and revert to separate methods for zeroed allocations closes rust-lang/wg-allocators#58 | ||||
| 2020-08-04 | Auto merge of #75058 - ssomers:btree_cleanup_insert_2, r=Mark-Simulacrum | bors | -44/+42 | |
| Clarify reuse of a BTreeMap insert support function and treat split support likewise r? @Mark-Simulacrum | ||||
| 2020-08-03 | Auto merge of #74827 - ssomers:btree_cleanup_insert, r=Mark-Simulacrum | bors | -37/+70 | |
| Move bulk of BTreeMap::insert method down to new method on handle Adjust the boundary between the map and node layers for insertion: do more in the node layer, keep root manipulation and pointer dereferencing separate. No change in undefined behaviour or performance. r? @Mark-Simulacrum | ||||
| 2020-08-03 | Merge branch 'master' into remove-in-place-alloc | Tim Diekmann | -238/+191 | |
| 2020-08-02 | Rollup merge of #75059 - shengsheng:typos, r=Dylan-DPC | Manish Goregaokar | -2/+2 | |
| fix typos Fix common misspellings with https://en.wikipedia.org/wiki/Wikipedia:Lists_of_common_misspellings/For_machines | ||||
| 2020-08-02 | Separate off a leafy insert function instead of lying, and split split similarly | Stein Somers | -44/+42 | |
| 2020-08-02 | Move bulk of BTreeMap::insert method down to new method on handle | Stein Somers | -37/+70 | |
| 2020-08-03 | Rollup merge of #74974 - RalfJung:miri-tests, r=Mark-Simulacrum | Yuki Okushi | -6/+11 | |
| Make tests faster in Miri Reduce some test iteration counts in Miri. | ||||
| 2020-08-03 | Rollup merge of #74874 - ssomers:btree_cleanup_8, r=Mark-Simulacrum | Yuki Okushi | -8/+16 | |
| BTreeMap: define forget_type only when relevant Similar to `forget_node_type` for handles. No effect on generated code, apart maybe from the superfluous calls that might not have been optimized away. r? @Mark-Simulacrum | ||||
| 2020-08-03 | Rollup merge of #74762 - ssomers:btree_no_root_in_remove_kv_tracking, ↵ | Yuki Okushi | -30/+73 | |
| r=Mark-Simulacrum BTreeMap::drain_filter should not touch the root during iteration Although Miri doesn't point it out, I believe there is undefined behaviour using `drain_filter` when draining the 11th-last element from a tree that was larger. When this happens, the last remaining child nodes are merged, the root becomes empty and is popped from the tree. That last step establishes a mutable reference to the node elected root and writes a pointer in `node::Root`, while iteration continues to visit the same node. This is mostly code from #74437, slightly adapted. | ||||
| 2020-08-03 | Rollup merge of #74686 - ssomers:btree_cleanup_3, r=Mark-Simulacrum | Yuki Okushi | -10/+3 | |
| BTreeMap: remove into_slices and its unsafe block A small tweak to make BTreeMap code shorter and less unsafe. r? @Mark-Simulacrum | ||||
| 2020-08-02 | fix typos | liuzhenyu | -2/+2 | |
| 2020-08-02 | Auto merge of #75033 - Manishearth:rollup-d8afil1, r=Manishearth | bors | -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-01 | Auto merge of #74605 - rust-lang:vec-leak, r=Amanieu | bors | -6/+4 | |
| Stabilize Vec::leak as a method Closes https://github.com/rust-lang/rust/issues/62195 The signature is changed to a method rather than an associated function: ```diff -pub fn leak<'a>(vec: Vec<T>) -> &'a mut [T] +pub fn leak<'a>(self) -> &'a mut [T] ``` 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-08-01 | BTreeMap::drain_filter no longer touches the root during iteration | Stein Somers | -30/+73 | |
| 2020-08-01 | Add Vec::spare_capacity_mut | Amanieu d'Antras | -1/+42 | |
| 2020-08-01 | Define forget_type only when relevant | Stein Somers | -8/+16 | |
| 2020-08-01 | Auto merge of #74373 - lcnr:array_chunks, r=withoutboats | bors | -0/+3 | |
| add `slice::array_chunks` to std Now that #74113 has landed, these methods are suddenly usable. A rebirth of #72334 Tests are directly copied from `chunks_exact` and some additional tests for type inference. r? @withoutboats as you are both part of t-libs and working on const generics. closes #60735 | ||||
| 2020-08-01 | add tracking issue | Bastian Kauschke | -1/+1 | |
| 2020-08-01 | Rollup merge of #74644 - crlf0710:drop_old_stuff, r=Amanieu | Yuki Okushi | -62/+10 | |
| Remove `linked_list_extras` methods. Removing these in favor of the `Cursor` API in https://github.com/rust-lang/rust/issues/58533 . Closes #27794. r? @Amanieu | ||||
| 2020-08-01 | Remove `linked_list_extras` methods. | Charles Lew | -62/+10 | |
| 2020-07-31 | make some vec_deque tests less exhaustive in Miri | Ralf Jung | -6/+11 | |
| 2020-07-31 | Auto merge of #74926 - Manishearth:rename-lint, r=jyn514 | bors | -1/+0 | |
| Rename intra_doc_link_resolution_failure It should be plural to follow the conventions in https://github.com/rust-lang/rfcs/blob/master/text/0344-conventions-galore.md#lints | ||||
| 2020-07-30 | Rollup merge of #74782 - vorner:weak-into-raw-cnt-doc, r=dtolnay | Manish Goregaokar | -20/+22 | |
| Don't use "weak count" around Weak::from_raw_ptr As `Rc/Arc::weak_count` returns 0 when having no strong counts, this could be confusing and it's better to avoid using that completely. Closes #73840. | ||||
| 2020-07-30 | Remove deny for intra doc link failures from library code, it's no longer ↵ | Manish Goregaokar | -1/+0 | |
| necessary | ||||
| 2020-07-30 | Rename in library | Manish Goregaokar | -1/+1 | |
| 2020-07-30 | liballoc export ArrayChunks | Bastian Kauschke | -0/+3 | |
| 2020-07-29 | Rollup merge of #74902 - rust-lang:into_raw_non_null, r=dtolnay | Manish Goregaokar | -91/+1 | |
| Remove deprecated unstable `{Box,Rc,Arc}::into_raw_non_null` functions FCP: https://github.com/rust-lang/rust/issues/47336#issuecomment-619369613 | ||||
| 2020-07-29 | Rollup merge of #74852 - lzutao:inline-rm-tostring, r=nnethercote | Manish Goregaokar | -0/+3 | |
| Explain why inlining default ToString impl Trying to remove inline attribute from default ToString impl causes regression. Perf result at <https://github.com/rust-lang/rust/pull/74852#issuecomment-664812994>. | ||||
| 2020-07-29 | Simplify implementations of `AllocRef` for `Global` and `System` | Tim Diekmann | -71/+70 | |
| 2020-07-29 | Remove deprecated unstable `{Box,Rc,Arc}::into_raw_non_null` functions | Simon Sapin | -91/+1 | |
| FCP: https://github.com/rust-lang/rust/issues/47336#issuecomment-619369613 | ||||
| 2020-07-29 | Stabilize `Vec::leak` | Simon Sapin | -3/+1 | |
| 2020-07-29 | Make `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-29 | Link to syntax section when referencing it | Tomasz Miąsko | -1/+1 | |
| 2020-07-29 | Explain why inline default ToString impl | Lzu Tao | -0/+3 | |
| 2020-07-28 | Remove into_slices and its unsafe block | Stein Somers | -10/+3 | |
| 2020-07-28 | Stabilize deque_make_contiguous | Jon Gjengset | -5/+8 | |
| Closes #70929. | ||||
| 2020-07-28 | Remove in-place allocation and revert to separate methods for zeroed allocations | Tim Diekmann | -85/+103 | |
| Fix docs | ||||
| 2020-07-28 | Don't use "weak count" around Weak::from_raw_ptr | Michal 'vorner' Vaner | -20/+22 | |
| As `Rc/Arc::weak_count` returns 0 when having no strong counts, this could be confusing and it's better to avoid using that completely. Closes #73840. | ||||
| 2020-07-27 | mv std libs to library/ | mark | -0/+30426 | |
