Fix clippy::assign_op_pattern

This commit is contained in:
Alan Du 2019-06-04 02:31:17 -04:00
parent 21d7964bc3
commit 6939011b27

View file

@ -64,7 +64,7 @@ pub(crate) fn call_info(db: &RootDatabase, position: FilePosition) -> Option<Cal
// If we are in a method account for `self` // If we are in a method account for `self`
if has_self { if has_self {
param = param + 1; param += 1;
} }
call_info.active_parameter = Some(param); call_info.active_parameter = Some(param);