Skip to content

Commit

Permalink
Remove Ord implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexWaygood committed Aug 19, 2024
1 parent 848ecb3 commit ff6b148
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/red_knot_python_semantic/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ pub(crate) fn definitions_ty<'db>(
}

/// Unique ID for a type.
#[derive(Copy, Clone, Debug, PartialOrd, Ord, PartialEq, Eq, Hash)]
#[derive(Copy, Clone, Debug, PartialEq, Eq, Hash)]
pub enum Type<'db> {
/// the dynamic type: a statically-unknown set of values
Any,
Expand Down Expand Up @@ -254,7 +254,7 @@ impl<'db> Type<'db> {
}
}

#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
#[derive(Debug, Clone, Copy, PartialEq, Eq, Hash)]
pub enum UnknownTypeKind {
/// Temporary variant that indicates that we *should*
/// be able to infer a type here in due course, but currently can't
Expand Down

0 comments on commit ff6b148

Please sign in to comment.