diff options
| author | Jacherr <jwc2002@outlook.com> | 2023-11-08 21:47:58 +0000 |
|---|---|---|
| committer | Jacherr <jwc2002@outlook.com> | 2023-11-08 21:47:58 +0000 |
| commit | 7cdaa3b574a1c9dd94c1d0abc260f8a4d366cd98 (patch) | |
| tree | a036465b26ad98f0e7328c9334475a0f5bbb77f0 | |
| parent | 483b109e6e7f741f0827fde46c9263636498b12a (diff) | |
| download | rust-7cdaa3b574a1c9dd94c1d0abc260f8a4d366cd98.tar.gz rust-7cdaa3b574a1c9dd94c1d0abc260f8a4d366cd98.zip | |
replace incorrect bool
| -rw-r--r-- | clippy_lints/src/types/vec_box.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clippy_lints/src/types/vec_box.rs b/clippy_lints/src/types/vec_box.rs index da4392418ca..9d5066199bd 100644 --- a/clippy_lints/src/types/vec_box.rs +++ b/clippy_lints/src/types/vec_box.rs @@ -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))) => |
