Add sym::iter_mut
+ sym::as_mut_ptr
This commit is contained in:
parent
2cc44cf748
commit
0404b6b6c2
@ -45,7 +45,7 @@ pub(super) fn check<'tcx>(
|
||||
let haystack = if let ExprKind::MethodCall(path, receiver, [], _) =
|
||||
filter_recv.kind {
|
||||
let p = path.ident.name;
|
||||
if p == sym::iter || p == sym!(iter_mut) {
|
||||
if p == sym::iter || p == sym::iter_mut {
|
||||
receiver
|
||||
} else {
|
||||
filter_recv
|
||||
|
Loading…
Reference in New Issue
Block a user