about summary refs log tree commit diff
path: root/compiler/rustc_parse/src
diff options
context:
space:
mode:
authorDaniPopes <57450786+DaniPopes@users.noreply.github.com>2025-03-25 21:02:54 +0100
committerDaniPopes <57450786+DaniPopes@users.noreply.github.com>2025-03-25 21:02:55 +0100
commit154cb083e705feca7509143352887dd293db61b2 (patch)
tree43dfccf26cbeb8e05b747f1601e9bdfb31db6302 /compiler/rustc_parse/src
parent40507bded561ca6d28f3e187aed8317bb81ce9e2 (diff)
downloadrust-154cb083e705feca7509143352887dd293db61b2.tar.gz
rust-154cb083e705feca7509143352887dd293db61b2.zip
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.
Diffstat (limited to 'compiler/rustc_parse/src')
0 files changed, 0 insertions, 0 deletions