remove HRTB from [T]::is_sorted_by{,_key}#102977
Conversation
|
(rust-highfive has picked a reviewer for you, use r? to override) |
|
Hey! It looks like you've submitted a new PR for the library teams! If this PR contains changes to any Examples of
|
|
Yes, I think an ACP or similar would make sense. Marking as waiting on libs-api. |
|
@bors r+ |
remove HRTB from `[T]::is_sorted_by{,_key}`
Changes the signature of `[T]::is_sorted_by{,_key}` to match `[T]::binary_search_by{,_key}` and make code like rust-lang#53485 (comment) compile.
Tracking issue: rust-lang#53485
~~Do we need an ACP for something like this?~~ Edit: Filed ACP here: rust-lang/libs-team#121
remove HRTB from `[T]::is_sorted_by{,_key}`
Changes the signature of `[T]::is_sorted_by{,_key}` to match `[T]::binary_search_by{,_key}` and make code like rust-lang#53485 (comment) compile.
Tracking issue: rust-lang#53485
~~Do we need an ACP for something like this?~~ Edit: Filed ACP here: rust-lang/libs-team#121
remove HRTB from `[T]::is_sorted_by{,_key}`
Changes the signature of `[T]::is_sorted_by{,_key}` to match `[T]::binary_search_by{,_key}` and make code like rust-lang#53485 (comment) compile.
Tracking issue: rust-lang#53485
~~Do we need an ACP for something like this?~~ Edit: Filed ACP here: rust-lang/libs-team#121
…earth Rollup of 8 pull requests Successful merges: - rust-lang#102977 (remove HRTB from `[T]::is_sorted_by{,_key}`) - rust-lang#103378 (Fix mod_inv termination for the last iteration) - rust-lang#103456 (`unchecked_{shl|shr}` should use `u32` as the RHS) - rust-lang#103701 (Simplify some pointer method implementations) - rust-lang#104047 (Diagnostics `icu4x` based list formatting.) - rust-lang#104338 (Enforce that `dyn*` coercions are actually pointer-sized) - rust-lang#104498 (Edit docs for `rustc_errors::Handler::stash_diagnostic`) - rust-lang#104556 (rustdoc: use `code-header` class to format enum variants) Failed merges: r? `@ghost` `@rustbot` modify labels: rollup
|
since this feature is still unstable |
Changes the signature of
[T]::is_sorted_by{,_key}to match[T]::binary_search_by{,_key}and make code like #53485 (comment) compile.Tracking issue: #53485
Do we need an ACP for something like this?Edit: Filed ACP here: rust-lang/libs-team#121