We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bbf839 commit 3045258Copy full SHA for 3045258
crates/ty_python_semantic/src/types/function.rs
@@ -391,7 +391,7 @@ impl<'db> OverloadLiteral<'db> {
391
if union_type
392
.elements(db)
393
.iter()
394
- .all(|element| element.is_function_literal()) =>
+ .all(Type::is_function_literal) =>
395
{
396
// SAFETY: We just checked this
397
union_type.elements(db)[0]
0 commit comments