Skip to content

Commit

Permalink
Ignore clippy lints on copied code
Browse files Browse the repository at this point in the history
  • Loading branch information
teor2345 authored and dconnolly committed Feb 17, 2021
1 parent 47084ea commit 090afb9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tower-batch/src/semaphore.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
// When we upgrade to tower 0.4, we can use tokio's PollSemaphore, like tower's:
// ccfaffc buffer, limit: use `tokio-util`'s `PollSemaphore` (#556)

// Ignore lints on this copied code
#![allow(dead_code)]

pub(crate) use self::sync::OwnedSemaphorePermit as Permit;
use futures_core::ready;
use std::{
Expand Down

0 comments on commit 090afb9

Please sign in to comment.