Skip to content

Commit

Permalink
Add underscore expressions for destructuring assignments
Browse files Browse the repository at this point in the history
Co-authored-by: varkor <github@varkor.com>
  • Loading branch information
fanzier and varkor committed Nov 14, 2020
1 parent 3a648ff commit 864e554
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions clippy_lints/src/utils/sugg.rs
Expand Up @@ -170,6 +170,7 @@ impl<'a> Sugg<'a> {
| ast::ExprKind::MacCall(..)
| ast::ExprKind::MethodCall(..)
| ast::ExprKind::Paren(..)
| ast::ExprKind::Underscore
| ast::ExprKind::Path(..)
| ast::ExprKind::Repeat(..)
| ast::ExprKind::Ret(..)
Expand Down

0 comments on commit 864e554

Please sign in to comment.