Skip to content

Commit

Permalink
remove outdated clippy allows (#94)
Browse files Browse the repository at this point in the history
Signed-off-by: Jay Lee <busyjaylee@gmail.com>
  • Loading branch information
BusyJay authored Jul 14, 2024
1 parent e9692ae commit 5a82b9d
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions jemalloc-ctl/src/error.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
//! Error type
#![cfg_attr(
feature = "cargo-clippy",
allow(clippy::cast_sign_loss, clippy::cast_possible_wrap)
)]

use crate::{fmt, num, result};
use libc::c_int;
Expand Down
1 change: 0 additions & 1 deletion jemalloc-ctl/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@
#![allow(renamed_and_removed_lints)]
#![deny(missing_docs, broken_intra_doc_links)]
#![cfg_attr(not(feature = "use_std"), no_std)]
#![cfg_attr(feature = "cargo-clippy", allow(clippy::module_name_repetitions))]

#[cfg(test)]
#[global_allocator]
Expand Down
4 changes: 0 additions & 4 deletions jemalloc-sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
//! [jemalloc_mallctl]: http://jemalloc.net/jemalloc.3.html#mallctl_namespace
#![no_std]
#![allow(non_snake_case, non_camel_case_types)]
#![cfg_attr(
feature = "cargo-clippy",
allow(clippy::cast_possible_truncation, clippy::cast_possible_wrap)
)]
// TODO: rename the following lint on next minor bump
#![allow(renamed_and_removed_lints)]
#![deny(missing_docs, broken_intra_doc_links)]
Expand Down

0 comments on commit 5a82b9d

Please sign in to comment.