diff options
Diffstat (limited to 'crates/ra_analysis/src/imp.rs')
-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 1c16852b8..b4faf0b5b 100644 --- a/crates/ra_analysis/src/imp.rs +++ b/crates/ra_analysis/src/imp.rs | |||
@@ -393,7 +393,7 @@ impl AnalysisImpl { | |||
393 | 393 | ||
394 | // If we have a method call eat the first param since it's just self. | 394 | // If we have a method call eat the first param since it's just self. |
395 | if has_self { | 395 | if has_self { |
396 | commas = commas + 1; | 396 | commas += 1; |
397 | } | 397 | } |
398 | 398 | ||
399 | current_parameter = Some(commas); | 399 | current_parameter = Some(commas); |