Skip to content

Commit

Permalink
lints
Browse files Browse the repository at this point in the history
  • Loading branch information
elliedavidson committed Oct 11, 2023
1 parent 50eb9cb commit e0b7371
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/libp2p-networking/src/network/node/handle.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ impl<S: Default + Debug> NetworkNodeHandle<S> {
///
/// Will panic if a handler is already spawned
#[allow(clippy::unused_async)]
// Tokio and async_std disagree how this function should be linted
#[allow(clippy::ignored_unit_patterns)]
// // Tokio and async_std disagree how this function should be linted
// #[allow(clippy::ignored_unit_patterns)]

pub async fn spawn_handler<F, RET>(self: &Arc<Self>, cb: F) -> impl Future<Output = ()>
where
Expand Down

0 comments on commit e0b7371

Please sign in to comment.