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 0af14ef commit 2c76104Copy full SHA for 2c76104
crates/ide-completion/src/render/function.rs
@@ -177,7 +177,7 @@ fn compute_return_type_match(
177
self_type: hir::Type,
178
ret_type: &hir::Type,
179
) -> CompletionRelevanceReturnType {
180
- if match_types(ctx.completion, &self_type, &ret_type).is_some() {
+ if match_types(ctx.completion, &self_type, ret_type).is_some() {
181
// fn([..]) -> Self
182
CompletionRelevanceReturnType::DirectConstructor
183
} else if ret_type
0 commit comments