| Age | Commit message (Collapse) | Author | Lines | |
|---|---|---|---|---|
| 2020-10-24 | Rollup merge of #77610 - hermitcore:dtors, r=m-ou-se | Jonas Schievink | -1/+1 | |
| revise Hermit's mutex interface to support the behaviour of StaticMutex rust-lang/rust#77147 simplifies things by splitting this Mutex type into two types matching the two use cases: StaticMutex and MovableMutex. To support the new behavior of StaticMutex, we move part of the mutex implementation into libstd. The interface to the OS changed. Consequently, I removed a few functions, which aren't longer needed. | ||||
| 2020-10-24 | BTreeMap: stop mistaking node::MIN_LEN as a node level constraint | Stein Somers | -55/+55 | |
| 2020-10-24 | Rollup merge of #78109 - cuviper:exhausted-rangeinc, r=dtolnay | Jonas Schievink | -0/+29 | |
| Check for exhaustion in RangeInclusive::contains and slicing When a range has finished iteration, `is_empty` returns true, so it should also be the case that `contains` returns false. Fixes #77941. | ||||
| 2020-10-23 | Rename `Box::alloc` to `Box::alloc_ref` | Tim Diekmann | -2/+2 | |
| 2020-10-23 | Add a spin loop hint for Arc::downgrade | Nicolas Nattis | -0/+3 | |
| 2020-10-23 | Rollup merge of #78163 - camelid:fixup-lib-docs, r=m-ou-se | Yuki Okushi | -9/+10 | |
| Clean up lib docs Cherry-picked out of #78094. | ||||
| 2020-10-23 | Rollup merge of #77969 - ryan-scott-dev:bigo-notation-consistency, r=m-ou-se | Yuki Okushi | -9/+9 | |
| Doc formating consistency between slice sort and sort_unstable, and big O notation consistency Updated documentation for slice sorting methods to be consistent between stable and unstable versions, which just ended up being minor formatting differences. I also went through and updated any doc comments with big O notation to be consistent with #74010 by italicizing them rather than having them in a code block. | ||||
| 2020-10-22 | Clean up lib docs | Camelid | -9/+10 | |
| 2020-10-22 | BTreeMap/Set: merge the implementations of MergeIter | Stein Somers | -97/+111 | |
| 2020-10-21 | switch allow_internal_unstable const fns to rustc_allow_const_fn_unstable | Florian Warzecha | -1/+3 | |
| 2020-10-21 | Rollup merge of #78056 - ssomers:btree_chop_up_1, r=dtolnay | Yuki Okushi | -222/+239 | |
| BTreeMap: split off most code of remove and split_off Putting map.rs on a diet, in addition to #77851. r? @dtolnay | ||||
| 2020-10-20 | Check for exhaustion in SliceIndex for RangeInclusive | Josh Stone | -0/+29 | |
| 2020-10-20 | BTreeMap: less sharing, more similarity between leaf and internal nodes | Stein Somers | -45/+36 | |
| 2020-10-20 | BTreeMap: reuse BoxedNode instances directly instead of their contents | Stein Somers | -7/+3 | |
| 2020-10-20 | Rollup merge of #77612 - ssomers:btree_cleanup_2, r=Mark-Simulacrum | Yuki Okushi | -79/+115 | |
| BTreeMap: test invariants more thoroughly and more readably r? @Mark-Simulacrum | ||||
| 2020-10-19 | BTreeMap: test invariants more thoroughly and more readably | Stein Somers | -79/+115 | |
| 2020-10-18 | Stabilize or_insert_with_key | Chai T. Rex | -2/+1 | |
| 2020-10-18 | Auto merge of #76885 - dylni:move-slice-check-range-to-range-bounds, r=KodrAus | bors | -8/+5 | |
| Move `slice::check_range` to `RangeBounds` Since this method doesn't take a slice anymore (#76662), it makes more sense to define it on `RangeBounds`. Questions: - Should the new method be `assert_len` or `assert_length`? | ||||
| 2020-10-18 | BTreeMap: split off most code of remove and split_off | Stein Somers | -222/+239 | |
| 2020-10-18 | Rollup merge of #77851 - exrook:split-btreemap, r=dtolnay | Yuki Okushi | -468/+480 | |
| BTreeMap: refactor Entry out of map.rs into its own file btree/map.rs is approaching the 3000 line mark, splitting out the entry code buys about 500 lines of headroom. I've created this PR because the changes I've made in #77438 will push `map.rs` over the 3000 line limit and cause tidy to complain. I picked `Entry` to factor out because it feels less tightly coupled to the rest of `BTreeMap` than the various iterator implementations. Related: #60302 | ||||
| 2020-10-17 | Move subslice pattern tests to alloc/tests/slice.rs | Alexis Bourget | -0/+120 | |
| 2020-10-17 | Move vec swap test | Alexis Bourget | -1/+13 | |
| 2020-10-17 | Move vec-macro-repeat test | Alexis Bourget | -0/+13 | |
| 2020-10-17 | Rebase conflicts | Alexis Bourget | -0/+30 | |
| 2020-10-17 | Move zero-sized-vec-push test | Alexis Bourget | -0/+17 | |
| 2020-10-17 | Rollup merge of #77932 - ssomers:btree_cleanup_gdb, r=Mark-Simulacrum | Dylan DPC | -1/+0 | |
| BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values I accidentally pushed an earlier revision in #77788: it changes the index of tuples for BTreeSet from ""[{}]".format(i) to "key{}".format(i). Which doesn't seem to make the slightest difference on my linux box nor on CI. In fact, gdb doesn't make any distinction between "key{}" and "val{}" for a BTreeMap either, leading to confusing output if you test more. But easy to improve. r? @Mark-Simulacrum | ||||
| 2020-10-17 | Rollup merge of #77751 - vojtechkral:vecdeque-binary-search, r=scottmcm,dtolnay | Dylan DPC | -1/+178 | |
| liballoc: VecDeque: Add binary search functions I am submitting rust-lang/rfcs#2997 as a PR as suggested by @scottmcm I haven't yet created a tracking issue - if there's a favorable feedback I'll create one and update the issue links in the unstable attribs. | ||||
| 2020-10-16 | Auto merge of #77997 - fusion-engineering-forks:to-string-no-shrink, ↵ | bors | -1/+0 | |
| r=joshtriplett Remove shrink_to_fit from default ToString::to_string implementation. As suggested by `@scottmcm` on Zulip. shrink_to_fit() seems like the wrong thing to do here in most use cases of to_string(). Would be intereseting to see if it makes any difference in a timer run. r? `@joshtriplett` | ||||
| 2020-10-16 | liballoc: VecDeque: Simplify binary_search_by() | Vojtech Kral | -15/+4 | |
| 2020-10-16 | liballoc: VecDeque: Add tracking issue for binary search fns | Vojtech Kral | -3/+3 | |
| 2020-10-16 | Auto merge of #77850 - kornelski:resizedefault, r=dtolnay | bors | -44/+0 | |
| Remove deprecated unstable Vec::resize_default It's [been deprecated](https://github.com/rust-lang/rust/pull/57656) for 15 releases. | ||||
| 2020-10-16 | Remove shrink_to_fit from default ToString::to_string implementation. | Mara Bos | -1/+0 | |
| Co-authored-by: scottmcm <scottmcm@users.noreply.github.com> | ||||
| 2020-10-16 | Merge branch 'master' into box-alloc | Tim Diekmann | -40/+116 | |
| 2020-10-16 | Rollup merge of #77935 - ssomers:btree_cleanup_1, r=Mark-Simulacrum | Dylan DPC | -7/+62 | |
| BTreeMap: make PartialCmp/PartialEq explicit and tested Follow-up on a topic raised in #77612 r? @Mark-Simulacrum | ||||
| 2020-10-15 | Fix typo in documentation | strct | -1/+1 | |
| 2020-10-15 | Following #74010 by converting some newer cases of backticked O notations to ↵ | Ryan Scott | -2/+2 | |
| be italicized | ||||
| 2020-10-15 | Made slice sort documentation consistent between stable and unstable versions | Ryan Scott | -7/+7 | |
| 2020-10-14 | BTreeMap: making PartialCmp/PartialEq explicit and tested | Stein Somers | -7/+62 | |
| 2020-10-14 | BTreeMap: improve gdb introspection of BTreeMap with ZST keys or values | Stein Somers | -1/+0 | |
| 2020-10-14 | Rollup merge of #77870 - camelid:intra-doc-super, r=jyn514 | Dylan DPC | -3/+3 | |
| Use intra-doc links for links to module-level docs r? @jyn514 | ||||
| 2020-10-14 | Rollup merge of #77569 - ssomers:btree_cleanup_1, r=Mark-Simulacrum | Yuki Okushi | -24/+28 | |
| BTreeMap: type-specific variants of node_as_mut and cast_unchecked Improves debug checking and shortens some expressions. Extracted from #77408 | ||||
| 2020-10-13 | minor changes to pass the format check | Stefan Lankes | -1/+1 | |
| 2020-10-13 | move __rg_oom to the libos to avoid duplicated symbols | Stefan Lankes | -1/+1 | |
| 2020-10-13 | explicitly talk about integer literals | Ralf Jung | -3/+3 | |
| 2020-10-12 | Use intra-doc links for links to module-level docs | Camelid | -3/+3 | |
| 2020-10-12 | BTreeMap: refactor Entry out of map.rs into its own file | Jacob Hughes | -468/+480 | |
| btree/map.rs is approaching the 3000 line mark, splitting out the entry code buys about 500 lines of headroom | ||||
| 2020-10-12 | Remove deprecated unstable Vec::resize_default | Kornel | -44/+0 | |
| 2020-10-12 | clarify rules for ZST Boxes | Ralf Jung | -0/+9 | |
| 2020-10-11 | Rollup merge of #77738 - RalfJung:alloc-error-handler-comment, r=Amanieu | Yuki Okushi | -5/+14 | |
| fix __rust_alloc_error_handler comment `__rust_alloc_error_handler` was added in the same `extern` block as the allocator functions, but the comment there was not actually correct for `__rust_alloc_error_handler`. So move it down to the rest of the default allocator handling with a fixed comment. At least the comment reflects my understanding of what happens, please check carefully. :) r? @Amanieu Cc @haraldh | ||||
| 2020-10-11 | Rollup merge of #77709 - pickfire:patch-1, r=jyn514 | Yuki Okushi | -1/+2 | |
| Link Vec leak doc to Box | ||||
