1
Fork 0
This commit is contained in:
flip1995 2019-11-25 13:18:38 +01:00
parent cc35165f52
commit d43c424145
No known key found for this signature in database
GPG key ID: 693086869D506637
26 changed files with 48 additions and 48 deletions

View file

@ -186,7 +186,7 @@ fn is_trivial_regex(s: &regex_syntax::hir::Hir) -> Option<&'static str> {
fn check_set<'a, 'tcx>(cx: &LateContext<'a, 'tcx>, expr: &'tcx Expr, utf8: bool) {
if_chain! {
if let ExprKind::AddrOf(_, ref expr) = expr.kind;
if let ExprKind::AddrOf(_, _, ref expr) = expr.kind;
if let ExprKind::Array(ref exprs) = expr.kind;
then {
for expr in exprs {