aboutsummaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorAlan Du <[email protected]>2019-06-04 07:31:17 +0100
committerAlan Du <[email protected]>2019-06-04 23:05:07 +0100
commit6939011b273c8ac63a29faed6febef5a94035d40 (patch)
tree178a53b8cdcb78691a2d206a5fb49d1ddc13875a /crates
parent21d7964bc3f0b923aac081d9ab854c3fc0c8b0b7 (diff)
Fix clippy::assign_op_pattern
Diffstat (limited to 'crates')
-rw-r--r--crates/ra_ide_api/src/call_info.rs2
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);