diff --git a/src/client/pool.rs b/src/client/pool.rs index e6a1f545..15178009 100644 --- a/src/client/pool.rs +++ b/src/client/pool.rs @@ -180,6 +180,7 @@ impl Pool { .expect("lock") } + /* Used in client/tests.rs... #[cfg(feature = "runtime")] #[cfg(test)] pub(super) fn h1_key(&self, s: &str) -> Key { @@ -196,6 +197,7 @@ impl Pool { .map(|list| list.len()) .unwrap_or(0) } + */ pub(super) fn pooled(&self, mut connecting: Connecting, value: T) -> Pooled { let (value, pool_ref) = if let Some(ref enabled) = self.inner { diff --git a/src/client/tests.rs b/src/client/tests.rs index b96c6f94..4f409c40 100644 --- a/src/client/tests.rs +++ b/src/client/tests.rs @@ -1,6 +1,4 @@ -// FIXME: re-implement tests with `async/await`, this import should -// trigger a warning to remind us -use super::Client; +// FIXME: re-implement tests with `async/await` /* #![cfg(feature = "runtime")] diff --git a/src/mock.rs b/src/mock.rs index b785cdb3..9b792855 100644 --- a/src/mock.rs +++ b/src/mock.rs @@ -1,6 +1,4 @@ -// FIXME: re-implement tests with `async/await`, this import should -// trigger a warning to remind us -use crate::Error; +// FIXME: re-implement tests with `async/await` /* #[cfg(feature = "runtime")] use std::collections::HashMap;