mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
fix: clippy
This commit is contained in:
parent
0af14ef8c3
commit
2c761048d4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue