Unnamed repository; edit this file 'description' to name the repository.
Auto merge of #147754 - Dan54:friendly-clamp, r=Mark-Simulacrum
Improve error message for std integer clamp() if min > max For rust-lang/rust#142309: change the error message for `Ord::clamp()` for std integer types if min > max to be more useful. Message is now `min > max. min = {min:?}, max = {max:?}` Also add `#[track_caller]` to `clamp()`
bors 4 months ago
parent 36bcb16 · parent a284987 · commit cb099d8
0 files changed, 0 insertions, 0 deletions