Skip to content

Commit 93dc703

Browse files
committed
Fix param number
1 parent bc4de71 commit 93dc703

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/ra_analysis/src/imp.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ impl AnalysisImpl {
460460

461461
if num_params == 1 {
462462
if !has_self {
463-
current_parameter = Some(1);
463+
current_parameter = Some(0);
464464
}
465465
} else if num_params > 1 {
466466
// Count how many parameters into the call we are.

0 commit comments

Comments
 (0)