From 7e7822446060083b7fb2a3e2f13d360275cb37d8 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 7 Jul 2023 13:47:56 -0400 Subject: [PATCH] Add an exception for clippy::arc_with_non_send_sync. We're doing this deliberately, I believe. --- crates/tor-rtcompat/src/compound.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/tor-rtcompat/src/compound.rs b/crates/tor-rtcompat/src/compound.rs index 1d3e78d33..a1d3eabfb 100644 --- a/crates/tor-rtcompat/src/compound.rs +++ b/crates/tor-rtcompat/src/compound.rs @@ -47,6 +47,7 @@ struct Inner { impl CompoundRuntime { /// 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,