Skip to content

Commit

Permalink
Remove unnecessary allowed lints
Browse files Browse the repository at this point in the history
  • Loading branch information
taiki-e committed Sep 29, 2022
1 parent f7a53b7 commit 175f4b3
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion crossbeam-channel/tests/golang.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
//! - https://golang.org/LICENSE
//! - https://golang.org/PATENTS
#![allow(clippy::mutex_atomic, clippy::redundant_clone)]
#![allow(clippy::redundant_clone)]

use std::alloc::{GlobalAlloc, Layout, System};
use std::any::Any;
Expand Down
1 change: 0 additions & 1 deletion crossbeam-deque/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,6 @@
rust_2018_idioms,
unreachable_pub
)]
#![allow(clippy::question_mark)] // https://github.com/rust-lang/rust-clippy/issues/8281
#![cfg_attr(not(feature = "std"), no_std)]

use cfg_if::cfg_if;
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-skiplist/tests/base.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#![allow(clippy::mutex_atomic, clippy::redundant_clone)]
#![allow(clippy::redundant_clone)]

use std::ops::Bound;
use std::sync::atomic::{AtomicUsize, Ordering};
Expand Down
2 changes: 0 additions & 2 deletions crossbeam-skiplist/tests/map.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#![allow(clippy::mutex_atomic)]

use std::{iter, ops::Bound, sync::Barrier};

use crossbeam_skiplist::SkipMap;
Expand Down
3 changes: 0 additions & 3 deletions crossbeam-utils/src/sync/wait_group.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
// Necessary for using `Mutex<usize>` for conditional variables
#![allow(clippy::mutex_atomic)]

use crate::primitive::sync::{Arc, Condvar, Mutex};
use std::fmt;

Expand Down

0 comments on commit 175f4b3

Please sign in to comment.