Lints and suggestions for the Nix programming language
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix useless_parens: lint on idents as well

Akshay e8f5ed3a b26272ba

+1
+1
lib/src/lints/useless_parens.rs
··· 84 84 | ParsedType::Str(_) 85 85 | ParsedType::AttrSet(_) 86 86 | ParsedType::Select(_) 87 + | ParsedType::Ident(_) 87 88 ); 88 89 then { 89 90 let at = paren_expr_range;