Ignore clippy lints on copied code

This commit is contained in:
teor 2021-02-17 11:39:19 +10:00 committed by Deirdre Connolly
parent 47084ea85e
commit 090afb9d4c
1 changed files with 3 additions and 0 deletions

View File

@ -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::{