Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit 2c76104

Browse files
committed
fix: clippy
1 parent 0af14ef commit 2c76104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ide-completion/src/render/function.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ fn compute_return_type_match(
177177
self_type: hir::Type,
178178
ret_type: &hir::Type,
179179
) -> CompletionRelevanceReturnType {
180-
if match_types(ctx.completion, &self_type, &ret_type).is_some() {
180+
if match_types(ctx.completion, &self_type, ret_type).is_some() {
181181
// fn([..]) -> Self
182182
CompletionRelevanceReturnType::DirectConstructor
183183
} else if ret_type

0 commit comments

Comments
 (0)