Files
rust/library
Jacob Pratt deb987b69d Rollup merge of #138945 - DaniPopes:override-partialord-bool, r=scottmcm
Override PartialOrd methods for bool

I noticed that `PartialOrd` implementation for `bool` does not override the individual operator methods, unlike the other primitive types like `char` and integers.

This commit extracts these `PartialOrd` overrides shared by the other primitive types into a macro and calls it on `bool` too.

CC `@scottmcm` for our recent adventures in `PartialOrd` land
2025-03-25 20:34:50 -04:00
..
2025-03-07 19:11:13 +00:00
2025-02-13 14:32:50 -08:00
2025-03-10 21:23:31 +08:00
2025-03-06 11:11:55 -08:00
2025-03-11 09:46:34 -07:00
2025-03-24 00:29:21 +00:00