We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 483b109 commit 7cdaa3bCopy full SHA for 7cdaa3b
clippy_lints/src/types/vec_box.rs
@@ -52,7 +52,7 @@ pub(super) fn check(
52
&& let Some(did) = cx.qpath_res(&path, inner.hir_id).opt_def_id() {
53
match_def_path(cx, did, &ALLOCATOR_GLOBAL)
54
} else {
55
- true
+ false
56
}
57
},
58
(Some(GenericArg::Type(l)), Some(GenericArg::Type(r))) =>
0 commit comments