diff options
Diffstat (limited to 'lib/src')
-rw-r--r-- | lib/src/lints/useless_parens.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/src/lints/useless_parens.rs b/lib/src/lints/useless_parens.rs index d93f06c..2d6ba8f 100644 --- a/lib/src/lints/useless_parens.rs +++ b/lib/src/lints/useless_parens.rs | |||
@@ -84,6 +84,7 @@ fn do_thing(parsed_type_node: ParsedType) -> Option<Diagnostic> { | |||
84 | | ParsedType::Str(_) | 84 | | ParsedType::Str(_) |
85 | | ParsedType::AttrSet(_) | 85 | | ParsedType::AttrSet(_) |
86 | | ParsedType::Select(_) | 86 | | ParsedType::Select(_) |
87 | | ParsedType::Ident(_) | ||
87 | ); | 88 | ); |
88 | then { | 89 | then { |
89 | let at = paren_expr_range; | 90 | let at = paren_expr_range; |