Skip to content

Commit bce67f3

Browse files
committed
Disable use_self lint for jemalloc-ctl error mod
1 parent 61f653f commit bce67f3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

jemalloc-ctl/src/error.rs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
//! Error type
2-
#![cfg_attr(
3-
feature = "cargo-clippy",
4-
allow(clippy::cast_sign_loss, clippy::cast_possible_wrap)
2+
#![allow(
3+
clippy::cast_sign_loss,
4+
clippy::cast_possible_wrap,
5+
clippy::use_self // https://github.com/rust-lang/rust-clippy/issues/2843
56
)]
67

78
use libc::c_int;

0 commit comments

Comments
 (0)