1
Fork 0

remove unnecessary PartialOrd and Ord

This commit is contained in:
Takayuki Maeda 2022-09-08 06:15:33 +09:00
parent b44197abb0
commit bdc865d8f7
7 changed files with 7 additions and 27 deletions

View file

@ -457,7 +457,7 @@ impl PartialRes {
/// Different kinds of symbols can coexist even if they share the same textual name.
/// Therefore, they each have a separate universe (known as a "namespace").
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
#[derive(Copy, Clone, PartialEq, Eq, Hash, Debug)]
pub enum Namespace {
/// The type namespace includes `struct`s, `enum`s, `union`s, `trait`s, and `mod`s
/// (and, by extension, crates).