From 30452586ad8f97f2172d157195f36d2947183e95 Mon Sep 17 00:00:00 2001 From: Douglas Creager Date: Tue, 2 Dec 2025 18:27:16 -0500 Subject: [PATCH] clippity bippity --- crates/ty_python_semantic/src/types/function.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ty_python_semantic/src/types/function.rs b/crates/ty_python_semantic/src/types/function.rs index a2a22697c4..297b00427d 100644 --- a/crates/ty_python_semantic/src/types/function.rs +++ b/crates/ty_python_semantic/src/types/function.rs @@ -391,7 +391,7 @@ impl<'db> OverloadLiteral<'db> { if union_type .elements(db) .iter() - .all(|element| element.is_function_literal()) => + .all(Type::is_function_literal) => { // SAFETY: We just checked this union_type.elements(db)[0]