replace incorrect bool

This commit is contained in:
Jacherr 2023-11-08 21:47:58 +00:00
parent 483b109e6e
commit 7cdaa3b574

View File

@ -52,7 +52,7 @@ pub(super) fn check(
&& let Some(did) = cx.qpath_res(&path, inner.hir_id).opt_def_id() {
match_def_path(cx, did, &ALLOCATOR_GLOBAL)
} else {
true
false
}
},
(Some(GenericArg::Type(l)), Some(GenericArg::Type(r))) =>