Skip to content

Commit 7cdaa3b

Browse files
committed
replace incorrect bool
1 parent 483b109 commit 7cdaa3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clippy_lints/src/types/vec_box.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ pub(super) fn check(
5252
&& let Some(did) = cx.qpath_res(&path, inner.hir_id).opt_def_id() {
5353
match_def_path(cx, did, &ALLOCATOR_GLOBAL)
5454
} else {
55-
true
55+
false
5656
}
5757
},
5858
(Some(GenericArg::Type(l)), Some(GenericArg::Type(r))) =>

0 commit comments

Comments
 (0)