Some clippy lints

This commit is contained in:
kjeremy 2020-01-13 11:27:06 -05:00
parent 5621f90071
commit a82c679c97
10 changed files with 45 additions and 46 deletions

View file

@ -121,7 +121,7 @@ pub(crate) fn outgoing_calls(db: &RootDatabase, position: FilePosition) -> Optio
Some(macro_def.to_nav(db))
}
} {
Some((func_target.clone(), name_ref.value.text_range()))
Some((func_target, name_ref.value.text_range()))
} else {
None
}