What is Nostr?
Mo :ferris: :tux: @ FOSDEM /
npub1j7f…mapy
2024-09-12 15:37:08

Mo :ferris: :tux: @ FOSDEM on Nostr: Be careful when defining your own order either when implementing the `Ord` trait or ...

Be careful when defining your own order either when implementing the `Ord` trait or when passing a comparison function when sorting.

Proving total order isn't trivial. Here is an example:
https://github.com/notify-rs/notify/issues/636

#RustLang
Author Public Key
npub1j7fc87rk03whjh72mphc9hrm8zecfsdywdcscsesznwzcrasudvs75mapy