Skip to content

Commit 07f188b

Browse files
committed
clippy fix
1 parent 404976e commit 07f188b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/src/types/type_ordering.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ pub(super) fn union_or_intersection_elements_ordering<'db>(
213213
(Type::TypedDict(_), _) => Ordering::Less,
214214
(_, Type::TypedDict(_)) => Ordering::Greater,
215215

216-
(Type::NewTypeInstance(left), Type::NewTypeInstance(right)) => left.cmp(&right),
216+
(Type::NewTypeInstance(left), Type::NewTypeInstance(right)) => left.cmp(right),
217217
(Type::NewTypeInstance(_), _) => Ordering::Less,
218218
(_, Type::NewTypeInstance(_)) => Ordering::Greater,
219219

0 commit comments

Comments
 (0)