test(lib): fix tests with more feature combinations

This commit is contained in:
Ralf Jung
2022-03-27 14:43:00 -04:00
committed by Sean McArthur
parent ffbf610b16
commit 8834d5a2a7
5 changed files with 54 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ use super::HttpBody;
/// # Example
///
/// ```
/// # #[cfg(all(feature = "client", any(feature = "http1", feature = "http2")))]
/// # #[cfg(all(feature = "client", feature = "tcp", any(feature = "http1", feature = "http2")))]
/// # async fn doc() -> hyper::Result<()> {
/// use hyper::{body::HttpBody};
///