| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2021-01-08 | BTreeMap: tougher checks on most uses of copy_nonoverlapping | Stein Somers | -26/+32 | |
| 2020-12-28 | Rollup merge of #80448 - m-ou-se:deque-range-version, r=m-ou-se | Mara Bos | -2/+2 | |
| Fix stabilization version of deque_range feature. See https://github.com/rust-lang/rust/pull/79022#issuecomment-751315315 | ||||
| 2020-12-28 | Rollup merge of #80430 - xfix:add-length-as-doc-alias, r=steveklabnik | Mara Bos | -0/+5 | |
| Add "length" as doc alias to len methods Currently when searching for `length` there are no results: https://doc.rust-lang.org/std/?search=length. This makes `len` methods appear when searching for `length`. | ||||
| 2020-12-28 | Rollup merge of #80390 - ssomers:btree_cleanup_slices_2, r=Mark-Simulacrum | Mara Bos | -50/+48 | |
| BTreeMap: rename the area access methods r? `@Mark-Simulacrum` | ||||
| 2020-12-28 | Fix stabilization version of deque_range feature. | Mara Bos | -2/+2 | |
| 2020-12-28 | Rollup merge of #80353 - ssomers:btree_test_split_off, r=Mark-Simulacrum | Dylan DPC | -7/+38 | |
| BTreeMap: test split_off (and append) more thoroughly Using DeterministicRng as a poor man's property based testing rig. r? ``@Mark-Simulacrum`` | ||||
| 2020-12-28 | Add "length" as doc alias to len methods | Konrad Borowski | -0/+5 | |
| 2020-12-26 | BTreeMap: rename the area access methods | Stein Somers | -50/+48 | |
| 2020-12-26 | Auto merge of #79520 - ssomers:btree_cleanup_1, r=Mark-Simulacrum | bors | -64/+17 | |
| BTreeMap: clean up access to MaybeUninit arrays Stop exposing and using immutable access to `MaybeUninit` slices when we need and have exclusive access to the tree. r? `@Mark-Simulacrum` | ||||
| 2020-12-26 | Auto merge of #80354 - ssomers:btree_test_compact, r=Mark-Simulacrum | bors | -9/+33 | |
| BTreeMap: test full nodes a little more r? `@Mark-Simulacrum` | ||||
| 2020-12-26 | Auto merge of #79022 - SpyrosRoum:stabilize-deque_range, r=m-ou-se | bors | -6/+2 | |
| stabilize deque_range Make #74217 stable, stabilizing `VecDeque::range` and `VecDeque::range_mut`. Pr: #74099 r? `@m-ou-se` | ||||
| 2020-12-25 | BTreeMap: declare exclusive access to arrays when copying from them | Stein Somers | -64/+17 | |
| 2020-12-25 | Rollup merge of #80352 - ssomers:btree_test_diagnostics, r=Mark-Simulacrum | Dylan DPC | -5/+9 | |
| BTreeMap: make test cases more explicit on failure r? `@Mark-Simulacrum` | ||||
| 2020-12-24 | BTreeMap: test full nodes a little more | Stein Somers | -9/+33 | |
| 2020-12-24 | BTreeMap: test split_off (and append) more thoroughly | Stein Somers | -7/+38 | |
| 2020-12-24 | BTreeMap: make test cases more explicit on failure | Stein Somers | -5/+9 | |
| 2020-12-24 | BTreeMap: avoid implicit use of node length in flight | Stein Somers | -97/+81 | |
| 2020-12-23 | Auto merge of #79521 - ssomers:btree_cleanup_2, r=Mark-Simulacrum | bors | -106/+108 | |
| BTreeMap: relax the explicit borrow rule to make code shorter and safer Expressions like `.reborrow_mut().into_len_mut()` are annoyingly long, and kind of dangerous for the reason `reborrow_mut()` is unsafe. By relaxing the single rule, we no longer have to make an exception for functions with a `borrow` name and functions like `as_leaf_mut`. This is largely restoring the declaration style of the btree::node API about a year ago, but with more explanation and consistency. r? `@Mark-Simulacrum` | ||||
| 2020-12-19 | Rollup merge of #78083 - ChaiTRex:master, r=m-ou-se | Yuki Okushi | -5/+7 | |
| Stabilize or_insert_with_key Stabilizes the `or_insert_with_key` feature from https://github.com/rust-lang/rust/issues/71024. This allows inserting key-derived values when a `HashMap`/`BTreeMap` entry is vacant. The difference between this and `.or_insert_with(|| ... )` is that this provides a reference to the key to the closure after it is moved with `.entry(key_being_moved)`, avoiding the need to copy or clone the key. | ||||
| 2020-12-18 | Rollup merge of #80003 - Stupremee:fix-zst-vecdeque-conversion-panic, r=dtolnay | Dylan DPC | -2/+6 | |
| Fix overflow when converting ZST Vec to VecDeque ```rust let v = vec![(); 100]; let queue = VecDeque::from(v); println!("{:?}", queue); ``` This code will currently panic with a capacity overflow. This PR resolves this issue and makes the code run fine. Resolves #78532 | ||||
| 2020-12-17 | BTreeMap: relax the explicit borrow rule to make code shorter and safer | Stein Somers | -106/+108 | |
| 2020-12-17 | Rollup merge of #80022 - ssomers:btree_cleanup_8, r=Mark-Simulacrum | Guillaume Gomez | -2/+2 | |
| BTreeSet: simplify implementation of pop_first/pop_last …and stop it interfering in #79245. r? ```````@Mark-Simulacrum``````` | ||||
| 2020-12-17 | Rollup merge of #80006 - ssomers:btree_cleanup_6, r=Mark-Simulacrum | Guillaume Gomez | -28/+27 | |
| BTreeMap: more expressive local variables in merge r? ```````@Mark-Simulacrum``````` | ||||
| 2020-12-14 | BTreeSet: simplify implementation of pop_first/pop_last | Stein Somers | -2/+2 | |
| 2020-12-13 | Auto merge of #80005 - ssomers:btree_cleanup_3, r=Mark-Simulacrum | bors | -10/+11 | |
| BTreeMap: declare clear_parent_link directly on the root it needs r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | Auto merge of #79987 - ssomers:btree_cleanup_4, r=Mark-Simulacrum | bors | -0/+2 | |
| BTreeMap: detect bulk_steal's count-1 underflow in release builds too r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | Auto merge of #79376 - ssomers:btree_choose_parent_kv, r=Mark-Simulacrum | bors | -12/+14 | |
| BTreeMap: clarify comments and panics around choose_parent_kv Fixes a lie in recent code: `unreachable!("empty non-root node")` should shout "empty internal node", but it might as well be good and keep quiet r? `@Mark-Simulacrum` | ||||
| 2020-12-13 | fix typo | Justus K | -1/+1 | |
| 2020-12-13 | BTreeMap: more expressive local variables in merge | Stein Somers | -28/+27 | |
| 2020-12-13 | BTreeMap: declare clear_parent_link directly on the root it needs | Stein Somers | -10/+11 | |
| 2020-12-13 | fix panic if converting ZST Vec to VecDeque | Justus K | -2/+6 | |
| 2020-12-13 | Auto merge of #79994 - JohnTitor:rollup-43wl2uj, r=JohnTitor | bors | -62/+0 | |
| Rollup of 12 pull requests Successful merges: - #79360 (std::iter: document iteration over `&T` and `&mut T`) - #79398 (Link loop/for keyword) - #79834 (Remove deprecated linked_list_extras methods.) - #79845 (Fix rustup support in default_build_triple for python3) - #79940 (fix more clippy::complexity findings) - #79942 (Add post-init hook for static memory for miri.) - #79954 (Fix building compiler docs with stage 0) - #79963 (Fix typo in `DebruijnIndex` documentation) - #79970 (Misc rustbuild improvements when the LLVM backend isn't used) - #79973 (rustdoc light theme: Fix CSS for selected buttons) - #79984 (Remove an unused dependency that made `rustdoc` crash) - #79985 (Fixes submit event of the search input) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup | ||||
| 2020-12-13 | Rollup merge of #79834 - m-ou-se:bye-linked-list-extras, r=Mark-Simulacrum | Yuki Okushi | -62/+0 | |
| Remove deprecated linked_list_extras methods. https://github.com/rust-lang/rust/issues/27794#issuecomment-667524201: > I'd say give it about 2 weeks then remove them. It's been 18 weeks. Time to remove them. :) Closes #27794. | ||||
| 2020-12-13 | BTreeMap: capture a recurring use pattern as replace_kv | Stein Somers | -8/+10 | |
| 2020-12-13 | BTreeMap: detect bulk_steal's count-1 underflow in release builds too | Stein Somers | -0/+2 | |
| 2020-12-12 | BTreeMap: clarify comments and panics surrounding choose_parent_kv | Stein Somers | -12/+14 | |
| 2020-12-08 | Remove deprecated linked_list_extras methods. | Mara Bos | -62/+0 | |
| 2020-12-08 | fix unsoundness in `make_contiguous` | Bastian Kauschke | -5/+27 | |
| 2020-12-07 | Removed spurious linebreak from new documentation | Chai T. Rex | -1/+1 | |
| 2020-12-07 | Improved documentation for HashMap/BTreeMap Entry's .or_insert_with_key method | Chai T. Rex | -3/+6 | |
| 2020-12-05 | Auto merge of #78373 - matthewjasper:drop-on-into, r=pnkfelix | bors | -1/+1 | |
| Don't leak return value after panic in drop Closes #47949 | ||||
| 2020-12-04 | Avoid leaking block expression values | Matthew Jasper | -1/+1 | |
| 2020-12-04 | Rename `AllocRef` to `Allocator` and `(de)alloc` to `(de)allocate` | Tim Diekmann | -5/+5 | |
| 2020-12-01 | Update rustc version that or_insert_with_key landed | Chai T. Rex | -1/+1 | |
| 2020-11-28 | BTreeMap: try to enhance various comments & local identifiers | Stein Somers | -89/+118 | |
| 2020-11-24 | Rollup merge of #79358 - ssomers:btree_public_comments, r=Mark-Simulacrum | Jonas Schievink | -4/+6 | |
| BTreeMap/BTreeSet: make public doc more consistent Tweaks #72876 and #73667 and propagate them to `BTreeSet`. | ||||
| 2020-11-24 | Rollup merge of #79354 - ssomers:btree_bereave_BoxedNode, r=Mark-Simulacrum | Jonas Schievink | -38/+12 | |
| BTreeMap: cut out the ceremony around BoxedNode The opposite direction of #79093. r? ``@Mark-Simulacrum`` | ||||
| 2020-11-23 | BTreeMap/BTreeSet: make public doc more consistent | Stein Somers | -4/+6 | |
| 2020-11-23 | BTreeMap: cut out the ceremony around BoxedNode | Stein Somers | -38/+12 | |
| 2020-11-23 | doc typo | oliver | -2/+2 | |
| plus a small edit for clarity | ||||
