fix: clippy

This commit is contained in:
Mohammad Mustakim Ali 2024-02-13 10:11:17 +00:00
parent 0af14ef8c3
commit 2c761048d4
No known key found for this signature in database
GPG Key ID: 191C58D7B97577B4

View File

@ -177,7 +177,7 @@ fn compute_return_type_match(
self_type: hir::Type,
ret_type: &hir::Type,
) -> CompletionRelevanceReturnType {
if match_types(ctx.completion, &self_type, &ret_type).is_some() {
if match_types(ctx.completion, &self_type, ret_type).is_some() {
// fn([..]) -> Self
CompletionRelevanceReturnType::DirectConstructor
} else if ret_type