Merge commit 'b40ea209e7f14c8193ddfc98143967b6a2f4f5c9' into clippyup
This commit is contained in:
@@ -152,7 +152,7 @@ impl<'tcx> Visitor<'tcx> for CcHelper {
|
||||
ExprKind::If(_, _, _) => {
|
||||
self.cc += 1;
|
||||
},
|
||||
ExprKind::Match(_, ref arms, _) => {
|
||||
ExprKind::Match(_, arms, _) => {
|
||||
if arms.len() > 1 {
|
||||
self.cc += 1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user