mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 12:54:58 +00:00
Some clippy lints
This commit is contained in:
parent
5621f90071
commit
a82c679c97
10 changed files with 45 additions and 46 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue