diff options
-rw-r--r-- | crates/ra_analysis/src/imp.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_analysis/src/imp.rs b/crates/ra_analysis/src/imp.rs index 3557bb5cc..57657105b 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -460,7 +460,7 @@ impl AnalysisImpl { | |||
460 | 460 | ||
461 | if num_params == 1 { | 461 | if num_params == 1 { |
462 | if !has_self { | 462 | if !has_self { |
463 | current_parameter = Some(1); | 463 | current_parameter = Some(0); |
464 | } | 464 | } |
465 | } else if num_params > 1 { | 465 | } else if num_params > 1 { |
466 | // Count how many parameters into the call we are. | 466 | // Count how many parameters into the call we are. |