replace incorrect bool
This commit is contained in:
parent
483b109e6e
commit
7cdaa3b574
@ -52,7 +52,7 @@ pub(super) fn check(
|
|||||||
&& let Some(did) = cx.qpath_res(&path, inner.hir_id).opt_def_id() {
|
&& let Some(did) = cx.qpath_res(&path, inner.hir_id).opt_def_id() {
|
||||||
match_def_path(cx, did, &ALLOCATOR_GLOBAL)
|
match_def_path(cx, did, &ALLOCATOR_GLOBAL)
|
||||||
} else {
|
} else {
|
||||||
true
|
false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
(Some(GenericArg::Type(l)), Some(GenericArg::Type(r))) =>
|
(Some(GenericArg::Type(l)), Some(GenericArg::Type(r))) =>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user