diff options
author | Alan Du <[email protected]> | 2019-06-04 07:31:17 +0100 |
---|---|---|
committer | Alan Du <[email protected]> | 2019-06-04 23:05:07 +0100 |
commit | 6939011b273c8ac63a29faed6febef5a94035d40 (patch) | |
tree | 178a53b8cdcb78691a2d206a5fb49d1ddc13875a /crates/ra_ide_api/src | |
parent | 21d7964bc3f0b923aac081d9ab854c3fc0c8b0b7 (diff) |
Fix clippy::assign_op_pattern
Diffstat (limited to 'crates/ra_ide_api/src')
-rw-r--r-- | crates/ra_ide_api/src/call_info.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_ide_api/src/call_info.rs b/crates/ra_ide_api/src/call_info.rs index 5d43282fd..0d1f92ca6 100644 --- a/crates/ra_ide_api/src/call_info.rs +++ b/crates/ra_ide_api/src/call_info.rs | |||
@@ -64,7 +64,7 @@ pub(crate) fn call_info(db: &RootDatabase, position: FilePosition) -> Option<Cal | |||
64 | 64 | ||
65 | // If we are in a method account for `self` | 65 | // If we are in a method account for `self` |
66 | if has_self { | 66 | if has_self { |
67 | param = param + 1; | 67 | param += 1; |
68 | } | 68 | } |
69 | 69 | ||
70 | call_info.active_parameter = Some(param); | 70 | call_info.active_parameter = Some(param); |