| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2018-12-02 | Update issue number of `shrink_to` methods to point the tracking issue | Hidehito Yabuuchi | -1/+1 | |
| 2018-11-30 | Inline things | John Kåre Alsaker | -0/+7 | |
| 2018-11-22 | Fix the tracking issue for hash_raw_entry | Steven Fackler | -38/+38 | |
| It used to point to the implementation PR. | ||||
| 2018-11-22 | Rollup merge of #55784 - meltinglava:master, r=KodrAus | Guillaume Gomez | -8/+8 | |
| Clarifying documentation for collections::hash_map::Entry::or_insert Previous version does not show that or_insert does not insert the passed value, as the passed value was the same value as what was already in the map. | ||||
| 2018-11-13 | fix various typos in doc comments | Andy Russell | -1/+1 | |
| 2018-11-13 | The example values are now easyer to differenciate | Meltinglava | -8/+8 | |
| 2018-11-08 | Clarifying documentation for collections::hash_map::Entry::or_insert | Meltinglava | -2/+2 | |
| Previous version does not show that or_insert does not insert the passed value, as the passed value was the same value as what was already in the map. | ||||
| 2018-11-07 | Rollup merge of #55734 - teresy:shorthand-fields, r=davidtwco | kennytm | -1/+1 | |
| refactor: use shorthand fields refactor: use shorthand for single fields everywhere (excluding tests). | ||||
| 2018-11-06 | refactor: use shorthand fields | teresy | -1/+1 | |
| 2018-11-02 | Auto merge of #54043 - fintelia:raw_entry, r=alexcrichton | bors | -6/+672 | |
| Add raw_entry API to HashMap This is a continuation of #50821. | ||||
| 2018-10-31 | A couple suggested edits | Jonathan Behrens | -7/+3 | |
| 2018-10-30 | Add example of using the indexing operator to HashMap docs | Florian Hartwig | -0/+3 | |
| 2018-09-13 | Entry is an enum not a struct | Jonathan Behrens | -1/+1 | |
| 2018-09-13 | Fix links in docs | Jonathan Behrens | -2/+7 | |
| 2018-09-13 | Eliminate unused variable warning | Jonathan Behrens | -1/+1 | |
| 2018-09-13 | Fix tests and update issue number | Jonathan Behrens | -138/+156 | |
| 2018-09-13 | Remove println!() statement from HashMap unit test | Jonathan Behrens | -1/+0 | |
| 2018-09-12 | Fix formatting | Jonathan Behrens | -1/+2 | |
| 2018-09-10 | fix typos in growth algo description | Val | -4/+4 | |
| modified to read "the first table overflows into the second, and the second into the first." plus smaller typos | ||||
| 2018-09-07 | Cleanup API somewhat | Jonathan Behrens | -217/+195 | |
| 2018-09-06 | Fix invalid urls | Guillaume Gomez | -3/+2 | |
| 2018-09-05 | disambiguate hashes | Alexis Beingessner | -3/+3 | |
| 2018-09-05 | fixup Debug bounds | Alexis Beingessner | -2/+2 | |
| 2018-09-05 | progress on raw_entry | Alexis Beingessner | -229/+231 | |
| 2018-09-05 | WIP: add raw_entry API to HashMap | Alexis Beingessner | -37/+703 | |
| 2018-06-29 | Move core::alloc::CollectionAllocErr to alloc::collections | Simon Sapin | -1/+1 | |
| 2018-06-18 | Prefer use of owned values in examples | Kornel | -11/+25 | |
| 2018-06-10 | Stabilize entry-or-default | Guillaume Gomez | -3/+1 | |
| 2018-06-02 | Add a couple lines describing differences between into_mut/get_mut. | Corey Farwell | -0/+9 | |
| 2018-06-02 | Fixed typo | Phlosioneer | -1/+1 | |
| 2018-06-02 | Clarify the difference between get_mut and into_mut for OccupiedEntry | Phlosioneer | -2/+6 | |
| The examples for both hash_map::OccupiedEntry::get_mut and hash_map::OccupiedEntry::into_mut were almost identical. This led to some confusion over the difference, namely why you would ever use get_mut when into_mut gives alonger lifetime. Reddit thread: https://www.reddit.com/r/rust/comments/8a5swr/why_does_hashmaps This commit adds two lines and a comment to the example, to show that the entry object can be re-used after calling get_mut. | ||||
| 2018-05-30 | Pass a `Layout` to `oom` | Mike Hommey | -10/+29 | |
| As discussed in https://github.com/rust-lang/rust/issues/49668#issuecomment-384893456 and subsequent, there are use-cases where the OOM handler needs to know the size of the allocation that failed. The alignment might also be a cause for allocation failure, so providing it as well can be useful. | ||||
| 2018-04-28 | std: Inline `DefaultResizePolicy::new` | Alex Crichton | -0/+1 | |
| This should allow us to tighten up the [codegen][example] a bit more, avoiding a function call across object boundaries in the default optimized case. [example]: https://play.rust-lang.org/?gist=c1179088b0f8a4dcd93a9906463f993d&version=stable&mode=release | ||||
| 2018-04-22 | Replace GlobalAlloc::oom with a lang item | Steven Fackler | -2/+2 | |
| 2018-04-20 | Auto merge of #50088 - alexcrichton:std-tweaks, r=sfackler | bors | -2/+2 | |
| Tweak some stabilizations in libstd This commit tweaks a few stable APIs in the `beta` branch before they hit stable. The `str::is_whitespace` and `str::is_alphanumeric` functions were deleted (added in #49381, issue at #49657). The `and_modify` APIs added in #44734 were altered to take a `FnOnce` closure rather than a `FnMut` closure. Closes #49581 Closes #49657 | ||||
| 2018-04-19 | Tweak some stabilizations in libstd | Alex Crichton | -2/+2 | |
| This commit tweaks a few stable APIs in the `beta` branch before they hit stable. The `str::is_whitespace` and `str::is_alphanumeric` functions were deleted (added in #49381, issue at #49657). The `and_modify` APIs added in #44734 were altered to take a `FnOnce` closure rather than a `FnMut` closure. Closes #49581 Closes #49657 | ||||
| 2018-04-17 | stabilize `hash_map_remove_entry` feature | tinaun | -2/+1 | |
| 2018-04-12 | Remove the now-unit-struct AllocErr field inside CollectionAllocErr | Simon Sapin | -2/+2 | |
| 2018-04-12 | Remove the now-unit-struct AllocErr parameter of oom() | Simon Sapin | -1/+1 | |
| 2018-04-12 | Actually deprecate the Heap type | Simon Sapin | -2/+2 | |
| 2018-04-12 | Import the `alloc` crate as `alloc_crate` in std | Simon Sapin | -3/+1 | |
| … to make the name `alloc` available. | ||||
| 2018-04-03 | Remove all unstable placement features | Aidan Hobson Sayers | -150/+1 | |
| Closes #22181, #27779 | ||||
| 2018-04-02 | Use Alloc and Layout from core::heap. | Mike Hommey | -1/+2 | |
| 94d1970bba87f2d2893f6e934e4c3f02ed50604d moved the alloc::allocator module to core::heap, moving e.g. Alloc and Layout out of the alloc crate. While alloc::heap reexports them, it's better to use them from where they really come from. | ||||
| 2018-03-28 | Rollup merge of #49400 - Diggsey:shrink-to, r=joshtriplett | kennytm | -0/+40 | |
| Implement `shrink_to` method on collections Fixes #49385 | ||||
| 2018-03-27 | Implement `shrink_to` method on collections | Diggory Blake | -0/+40 | |
| 2018-03-25 | Implement get_key_value for HashMap, BTreeMap | Diggory Blake | -0/+28 | |
| 2018-03-15 | setting ABORTING_MALLOC for asmjs backend | snf | -4/+0 | |
| 2018-03-14 | try_reserve: disabling tests for asmjs, blocked by #48968 | snf | -0/+4 | |
| 2018-03-14 | implementing fallible allocation API (try_reserve) for Vec, String and HashMap | snf | -13/+83 | |
| 2018-03-06 | Rollup merge of #47463 - bluss:fused-iterator, r=alexcrichton | kennytm | -7/+7 | |
| Stabilize FusedIterator FusedIterator is a marker trait that promises that the implementing iterator continues to return `None` from `.next()` once it has returned `None` once (and/or `.next_back()`, if implemented). The effects of FusedIterator are already widely available through `.fuse()`, but with stable `FusedIterator`, stable Rust users can implement this trait for their iterators when appropriate. Closes #35602 | ||||
