Add an exception for clippy::arc_with_non_send_sync.
We're doing this deliberately, I believe.
This commit is contained in:
parent
2db3e73434
commit
7e78224460
|
@ -47,6 +47,7 @@ struct Inner<SpawnR, SleepR, TcpR, TlsR, UdpR> {
|
|||
impl<SpawnR, SleepR, TcpR, TlsR, UdpR> CompoundRuntime<SpawnR, SleepR, TcpR, TlsR, UdpR> {
|
||||
/// Construct a new CompoundRuntime from its components.
|
||||
pub fn new(spawn: SpawnR, sleep: SleepR, tcp: TcpR, tls: TlsR, udp: UdpR) -> Self {
|
||||
#[allow(clippy::arc_with_non_send_sync)]
|
||||
CompoundRuntime {
|
||||
inner: Arc::new(Inner {
|
||||
spawn,
|
||||
|
|
Loading…
Reference in New Issue