Skip to content

Commit 3045258

Browse files
committed
clippity bippity
1 parent 7bbf839 commit 3045258

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ty_python_semantic/src/types/function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ impl<'db> OverloadLiteral<'db> {
391391
if union_type
392392
.elements(db)
393393
.iter()
394-
.all(|element| element.is_function_literal()) =>
394+
.all(Type::is_function_literal) =>
395395
{
396396
// SAFETY: We just checked this
397397
union_type.elements(db)[0]

0 commit comments

Comments
 (0)