Disable use_self lint for jemalloc-ctl error mod

This commit is contained in:
gnzlbg 2019-11-28 17:51:40 +01:00
parent 61f653fe6c
commit bce67f3d2d
1 changed files with 4 additions and 3 deletions

View File

@ -1,7 +1,8 @@
//! Error type
#![cfg_attr(
feature = "cargo-clippy",
allow(clippy::cast_sign_loss, clippy::cast_possible_wrap)
#![allow(
clippy::cast_sign_loss,
clippy::cast_possible_wrap,
clippy::use_self // https://github.com/rust-lang/rust-clippy/issues/2843
)]
use libc::c_int;