Allow dead code for is_empty
@@ -129,6 +129,7 @@ impl<Fut: Future> FuturesOrdered<Fut> {
}
/// Returns `true` if the queue contains no futures
+ #[allow(dead_code)]
pub fn is_empty(&self) -> bool {
self.in_progress_queue.is_empty() && self.queued_outputs.is_empty()
}
