| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-01 | BTreeMap: admit the existence of leaf edges in comments | Stein Somers | -22/+12 | |
| 2020-10-01 | Auto merge of #77383 - pickfire:patch-6, r=Mark-Simulacrum | bors | -3/+4 | |
| Fix typo in vec doc "tries to reserves" Superseeds #77192 | ||||
| 2020-10-01 | Fix typo in vec doc "tries to reserves" | Ivan Tham | -3/+4 | |
| 2020-10-01 | Rollup merge of #77315 - exrook:rename-allocerror, r=joshtriplett | Dylan DPC | -17/+17 | |
| Rename AllocErr to AllocError Implements rust-lang/wg-allocators#57 | ||||
| 2020-09-30 | Rollup merge of #77340 - pickfire:patch-9, r=kennytm | Jonas Schievink | -1/+1 | |
| Alloc vec use imported path mem::ManuallyDrop::new -> ManuallyDrop::new cc @the8472 | ||||
| 2020-09-30 | Rollup merge of #77338 - pickfire:patch-7, r=jyn514 | Jonas Schievink | -1/+1 | |
| Fix typo in alloc vec comment cc @the8472 | ||||
| 2020-09-30 | Rollup merge of #77233 - ssomers:btree_size_matters, r=Mark-Simulacrum | Jonas Schievink | -0/+9 | |
| BTreeMap: keep an eye out on the size of the main components r? @Mark-Simulacrum | ||||
| 2020-09-29 | Alloc vec use imported path | Ivan Tham | -1/+1 | |
| mem::ManuallyDrop::new -> ManuallyDrop::new | ||||
| 2020-09-29 | Fix typo in alloc vec comment | Ivan Tham | -1/+1 | |
| 2020-09-28 | Rename AllocErr to AllocError | Jacob Hughes | -17/+17 | |
| 2020-09-27 | Use relative links instead of intra-doc links | Joshua Nelson | -1/+1 | |
| Previously, `BTreeMap` tried to link to `crate::collections`, intending for the link to go to `std/collections/index.html`. But `BTreeMap` is defined in `alloc`, so after the fix in the previous commit, the links instead went to `alloc/collections/index.html`, which has almost no information. This changes it to link to `index.html`, which only works when viewing from `std::collections::BTreeMap`, the most common place to visit the docs. Fixing it to work from anywhere would require the docs for `std::collections` to be duplicated in `alloc::collections`, which in turn would require HashMap to be `alloc` for intra-doc links to work (https://github.com/rust-lang/rust/issues/74481). | ||||
| 2020-09-26 | BTreeMap: keep an eye out on the size of the main components | Stein Somers | -0/+9 | |
| 2020-09-25 | Auto merge of #77201 - matthewjasper:rename-get-unchecked, r=spastorino | bors | -3/+9 | |
| Rename Iterator::get_unchecked Closes #76479 r? `@pnkfelix` | ||||
| 2020-09-25 | Rename Iterator::get_unchecked | Matthew Jasper | -1/+1 | |
| It's possible for method resolution to pick this method over a lower priority stable method, causing compilation errors. Since this method is permanently unstable, give it a name that is very unlikely to be used in user code. | ||||
| 2020-09-25 | Improve <vec::IntoIter>::get_unchecked` safety comment | Matthew Jasper | -2/+8 | |
| 2020-09-25 | Rollup merge of #77189 - pickfire:patch-5, r=Mark-Simulacrum | Jonas Schievink | -1/+0 | |
| Remove extra space from vec drawing | ||||
| 2020-09-25 | Rollup merge of #77005 - ssomers:btree_cleanup_3, r=Mark-Simulacrum | Jonas Schievink | -110/+99 | |
| BtreeMap: refactoring around edges Parts chipped off a more daring effort, that the btree benchmarks judge to be performance-neutral. r? @Mark-Simulacrum | ||||
| 2020-09-25 | Remove extra space from vec drawing | Ivan Tham | -1/+0 | |
| 2020-09-25 | BTreeMap: various tweaks | Stein Somers | -61/+50 | |
| 2020-09-25 | BTreeMap: introduce edge methods similar to those of keys and values | Stein Somers | -24/+34 | |
| 2020-09-25 | BTreeMap: refactor correct_childrens_parent_links | Stein Somers | -26/+16 | |
| 2020-09-25 | Rollup merge of #77079 - poliorcetics:more-self-in-docs, r=jyn514 | Jonas Schievink | -2/+2 | |
| Use `Self` in docs when possible Fixes #76542. I used `rg '\s*//[!/]\s+fn [\w_]+\(&?self, ' .` in `library/` to find instances, I found some with that and some by manually checking. @rustbot modify labels: C-enhancement T-doc | ||||
| 2020-09-25 | Rollup merge of #77050 - follower:patch-1, r=oli-obk | Jonas Schievink | -1/+1 | |
| Typo fix: "satsify" -> "satisfy" | ||||
| 2020-09-23 | Rollup merge of #77017 - GuillaumeGomez:vec-missing-examples-iter, r=Dylan-DPC | Dylan DPC | -0/+31 | |
| Add missing examples on Vec iter types r? @Dylan-DPC | ||||
| 2020-09-23 | Rollup merge of #76993 - blitzerr:alloc-ref, r=Amanieu | Dylan DPC | -17/+18 | |
| Changing the alloc() to accept &self instead of &mut self Fixes: [#55](https://github.com/rust-lang/wg-allocators/issues/55) This is the first cut. It only makes the change for `alloc` method. | ||||
| 2020-09-22 | a few more &mut self -> self changes | blitzerr | -4/+4 | |
| 2020-09-23 | Use Self in alloc | Alexis Bourget | -2/+2 | |
| 2020-09-22 | Update library functions with stability attributes | Dylan MacKenzie | -0/+5 | |
| This may not be strictly minimal, but all unstable functions also need a `rustc_const_unstable` attribute. | ||||
| 2020-09-22 | removing &mut self for other methods of AllocRef | blitzerr | -4/+4 | |
| 2020-09-22 | Add missing examples on Vec iter types | Guillaume Gomez | -0/+31 | |
| 2020-09-22 | Typo fix: "satsify" -> "satisfy" | follower | -1/+1 | |
| 2020-09-21 | Rollup merge of #72734 - pickfire:liballoc, r=KodrAus | ecstatic-morse | -15/+13 | |
| Reduce duplicate in liballoc reserve error handling Not sure if it affects compilation time. | ||||
| 2020-09-21 | replaced cell::update with cell::[g|s]et | blitzerr | -5/+1 | |
| 2020-09-21 | Added feature flag to use cell_update | blitzerr | -0/+4 | |
| 2020-09-21 | Changing the alloc() to accept &self instead of &mut self | blitzerr | -9/+10 | |
| 2020-09-21 | Rollup merge of #76983 - ssomers:btree_extra_test, r=Mark-Simulacrum | Ralf Jung | -6/+25 | |
| BTreeMap: extra testing & fixed comments r? @Mark-Simulacrum | ||||
| 2020-09-21 | Auto merge of #75974 - SkiFire13:peekmut-opt-sift, r=LukasKalbertodt | bors | -2/+4 | |
| Avoid useless sift_down when std::collections::binary_heap::PeekMut is never mutably dereferenced If `deref_mut` is never called then it's not possible for the element to be mutated without internal mutability, meaning there's no need to call `sift_down`. This could be a little improvement in cases where you want to mutate the biggest element of the heap only if it satisfies a certain predicate that needs only read access to the element. | ||||
| 2020-09-20 | BTreeMap: extra testing unveiling mistakes in future PR | Stein Somers | -6/+25 | |
| 2020-09-20 | Rollup merge of #76926 - ssomers:btree_cleanup_1, r=Mark-Simulacrum | Ralf Jung | -7/+7 | |
| BTreeMap: code readability tweaks Gathered over the past months r? @Mark-Simulacrum | ||||
| 2020-09-20 | Rollup merge of #76877 - denisvasilik:intra-doc-links-alloc-vec-deque, r=jyn514 | Ralf Jung | -23/+28 | |
| Move to intra-doc links in collections/vec_deque.rs and collections/vec_deque/drain.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links | ||||
| 2020-09-20 | Rollup merge of #76876 - denisvasilik:intra-doc-links-alloc, r=jyn514 | Ralf Jung | -12/+8 | |
| Move to intra-doc links in collections/btree/map.rs and collections/linked_list.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links | ||||
| 2020-09-20 | Rollup merge of #76875 - denisvasilik:intra-doc-links-alloc-binary-heap, ↵ | Ralf Jung | -20/+14 | |
| r=jyn514 Move to intra-doc links in library/alloc/src/collections/binary_heap.rs Helps with #75080. @rustbot modify labels: T-doc, A-intra-doc-links | ||||
| 2020-09-20 | Rollup merge of #76866 - est31:master, r=lcnr | Ralf Jung | -9/+1 | |
| Remove unused feature gates from library/ crates Removes some unused feature gates from library crates. It's likely not a complete list as I only tested a subset for which it's more likely that it is unused. | ||||
| 2020-09-20 | Rollup merge of #76722 - ssomers:btree_send_sync, r=Mark-Simulacrum | Ralf Jung | -0/+143 | |
| Test and fix Send and Sync traits of BTreeMap artefacts Fixes #76686. I'm not quite sure what all this implies. E.g. comparing with the definitions for `NodeRef` in node.rs, maybe an extra bound `T: 'a` is useful for something. The test compiles on stable/beta (apart from `drain_filter`) so I bet `Sync` is equally desirable. r? @Mark-Simulacrum | ||||
| 2020-09-20 | Remove some unused features from alloc core and std | est31 | -8/+1 | |
| 2020-09-20 | Fix time complexity in BinaryHeap::peek_mut docs | Giacomo Stevanato | -1/+2 | |
| 2020-09-20 | Set sift=true only when PeekMut yields a mutable reference | Giacomo Stevanato | -1/+2 | |
| 2020-09-19 | Use intra-doc links | Denis Vasilik | -12/+8 | |
| 2020-09-19 | Auto merge of #76929 - ssomers:btree_cleanup_2, r=Mark-Simulacrum | bors | -20/+22 | |
| BTreeMap: wrap node's raw parent pointer in NonNull Now that the other `*const` (root) is gone, seemed like a small step forward. r? `@Mark-Simulacrum` | ||||
| 2020-09-19 | BTreeMap: wrap node's raw parent pointer in NonNull | Stein Somers | -20/+22 | |
