summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/transport.rs8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/transport.rs b/src/transport.rs
index 112d548..5a48f62 100644
--- a/src/transport.rs
+++ b/src/transport.rs
@@ -236,14 +236,6 @@ impl Transport {
where
B: Into<Body>,
{
- match self {
- Transport::Tcp { .. } => (),
- #[cfg(feature = "tls")]
- Transport::EncryptedTcp { .. } => (),
- #[cfg(feature = "unix-socket")]
- Transport::Unix { .. } => panic!("connection streaming is only supported over TCP"),
- };
-
let req = self
.build_request(
method,