Skip to content

Commit 562a530

Browse files
committed
Silence buggy clippy lint
1 parent a47c50a commit 562a530

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

jemalloc-ctl/src/lib.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,10 @@
7272
//! ```
7373
#![deny(missing_docs, intra_doc_link_resolution_failure)]
7474
#![cfg_attr(not(feature = "use_std"), no_std)]
75-
#![cfg_attr(feature = "cargo-clippy", allow(clippy::module_name_repetitions))]
75+
#![allow(
76+
clippy::module_name_repetitions,
77+
clippy::needless_doctest_main // bug: https://github.com/rust-lang/rust-clippy/issues/4858
78+
)]
7679

7780
extern crate jemalloc_sys;
7881
extern crate libc;

0 commit comments

Comments
 (0)