clippity bippity

This commit is contained in:
Douglas Creager 2025-12-02 18:27:16 -05:00
parent 7bbf839325
commit 30452586ad
1 changed files with 1 additions and 1 deletions

View File

@ -391,7 +391,7 @@ impl<'db> OverloadLiteral<'db> {
if union_type if union_type
.elements(db) .elements(db)
.iter() .iter()
.all(|element| element.is_function_literal()) => .all(Type::is_function_literal) =>
{ {
// SAFETY: We just checked this // SAFETY: We just checked this
union_type.elements(db)[0] union_type.elements(db)[0]