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
@mcc you can't order floats. They obey nobody.
If you have a fediverse account, you can quote this note from your own instance. Search https://mastodon.social/users/ratsnakegames/statuses/116104563359971214 on your instance and quote it. (Note that quoting is not supported in Mastodon.)