mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-02 14:51:48 +00:00
clippy::redudant_borrow
This commit is contained in:
parent
d6737e55fb
commit
c9b4ac5be4
114 changed files with 285 additions and 285 deletions
|
@ -162,7 +162,7 @@ impl ActiveParameter {
|
|||
}
|
||||
|
||||
pub fn at_token(sema: &Semantics<RootDatabase>, token: SyntaxToken) -> Option<Self> {
|
||||
let (signature, active_parameter) = call_info_impl(&sema, token)?;
|
||||
let (signature, active_parameter) = call_info_impl(sema, token)?;
|
||||
|
||||
let idx = active_parameter?;
|
||||
let mut params = signature.params(sema.db);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue