std::cmp::max fails.
The error message: "the trait bound `f32: Ord` is not satisfied"
*belabored sigh* sometimes the most frustrating thing about Rust is that it does things correctly
std::cmp::max fails.
The error message: "the trait bound `f32: Ord` is not satisfied"
*belabored sigh* sometimes the most frustrating thing about Rust is that it does things correctly
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/mcc/statuses/116104530542189746 on your instance and quote it. (Note that quoting is not supported in Mastodon.)