diff options
author | Alan Du <[email protected]> | 2018-10-18 00:25:37 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2018-10-18 00:42:23 +0100 |
commit | a5da770ec60a73abcc5350f25146be973540063f (patch) | |
tree | d0384d6a786c3a07689dc4dff04209207487b76b /crates/ra_analysis/src/imp.rs | |
parent | fc8024de51261d252b1ad88566db6e246d14ee16 (diff) |
Fix function calls
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); |