mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-28 21:05:02 +00:00
remove redundant clones
This commit is contained in:
parent
f595e60b6d
commit
476e10e961
23 changed files with 34 additions and 34 deletions
|
@ -432,7 +432,7 @@ fn get_fn_target(
|
|||
}
|
||||
None => next_space_for_fn_after_call_site(ast::CallableExpr::Call(call))?,
|
||||
};
|
||||
Some((target.clone(), file))
|
||||
Some((target, file))
|
||||
}
|
||||
|
||||
fn get_method_target(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue