summaryrefslogtreecommitdiffstats
path: root/renderer/src
diff options
context:
space:
mode:
authorLibravatar Rose Hogenson <rosehogenson@posteo.net>2024-10-26 09:28:20 -0700
committerLibravatar Rose Hogenson <rosehogenson@posteo.net>2024-10-26 09:28:20 -0700
commitf3733a811bb020bdffe2090f0391cecc9d976da0 (patch)
tree3a4cb649db36b7b01d7f03e8d763d9be454bf8c3 /renderer/src
parentd660fad33d97cf78507c6797b5fe45b3daf47454 (diff)
downloadiced-f3733a811bb020bdffe2090f0391cecc9d976da0.tar.gz
iced-f3733a811bb020bdffe2090f0391cecc9d976da0.tar.bz2
iced-f3733a811bb020bdffe2090f0391cecc9d976da0.zip
Use float total_cmp instead of partial_cmp to get a total order.
Since Rust version 1.81, sort_by will panic if the provided comparison function does not implement a total order. See https://github.com/rust/lang/rust/issues/129561 for more details. The simplest fix seems to be to use total_cmp instead of partial_cmp.
Diffstat (limited to 'renderer/src')
0 files changed, 0 insertions, 0 deletions