Fix ws clippy warnings

This commit is contained in:
Joakim Frostegård 2024-01-20 10:27:15 +01:00
parent 9d1bba5e92
commit c32fa7cc2b
5 changed files with 25 additions and 14 deletions

View file

@ -24,6 +24,7 @@ use self::storage::TorrentMaps;
#[cfg(feature = "metrics")]
thread_local! { static WORKER_INDEX: ::std::cell::Cell<usize> = Default::default() }
#[allow(clippy::too_many_arguments)]
pub async fn run_swarm_worker(
_sentinel: PanicSentinel,
config: Config,