Skip to content

Commit 0ef6a65

Browse files
Lower lint level for READ_ZERO_BYTE_VEC
This avoids reporting false-positives; see rust-lang/rust-clippy#9274 for details.
1 parent d939e5a commit 0ef6a65

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/clippy/clippy_lints/src/read_zero_byte_vec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ declare_clippy_lint! {
4343
/// ```
4444
#[clippy::version = "1.63.0"]
4545
pub READ_ZERO_BYTE_VEC,
46-
correctness,
46+
pedantic,
4747
"checks for reads into a zero-length `Vec`"
4848
}
4949
declare_lint_pass!(ReadZeroByteVec => [READ_ZERO_BYTE_VEC]);

0 commit comments

Comments
 (0)