rust/library/core
Nadrieril e8d1c2ef9c
Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-Simulacrum
Use `bool` instead of `PartiolOrd` as return value of the comparison closure in `{slice,Iteraotr}::is_sorted_by`

Changes the function signature of the closure given to `{slice,Iteraotr}::is_sorted_by` to return a `bool` instead of a `PartiolOrd` as suggested by the libs-api team here: https://github.com/rust-lang/rust/issues/53485#issuecomment-1766411980.

This means these functions now return true if the closure returns true for all the pairs of values.
2024-01-21 06:38:35 +01:00
..
benches Rollup merge of #113142 - the8472:opt-cstr-display, r=Mark-Simulacrum 2024-01-20 09:37:25 +01:00
src Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-Simulacrum 2024-01-21 06:38:35 +01:00
tests Rollup merge of #118811 - EbbDrop:is-sorted-by-bool, r=Mark-Simulacrum 2024-01-21 06:38:35 +01:00
Cargo.toml Update rand in the stdlib tests, and remove the getrandom feature from it 2023-01-04 14:52:41 -08:00