Skip to content

Commit e722b13

Browse files
committed
Reinserted commata
1 parent ee0856c commit e722b13

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clippy_lints/src/question_mark.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,15 +127,15 @@ impl Pass {
127127
}
128128

129129
false
130-
}
130+
},
131131
ExprKind::Ret(Some(ref expr)) => Self::expression_returns_none(cx, expr),
132132
ExprKind::Path(ref qp) => {
133133
if let Def::VariantCtor(def_id, _) = cx.tables.qpath_def(qp, expression.hir_id) {
134134
return match_def_path(cx.tcx, def_id, &OPTION_NONE);
135135
}
136136

137137
false
138-
}
138+
},
139139
_ => false,
140140
}
141141
}

0 commit comments

Comments
 (0)