reduce borrowing and (de)referencing around match patterns (clippy::match_ref_pats)
This commit is contained in:
parent
90ccf4f5ad
commit
8a90626a46
28 changed files with 89 additions and 91 deletions
|
@ -938,8 +938,8 @@ impl EarlyLintPass for DeprecatedAttr {
|
|||
if attr.ident().map(|ident| ident.name) == Some(n) {
|
||||
if let &AttributeGate::Gated(
|
||||
Stability::Deprecated(link, suggestion),
|
||||
ref name,
|
||||
ref reason,
|
||||
name,
|
||||
reason,
|
||||
_,
|
||||
) = g
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue