summaryrefslogtreecommitdiffstats
path: root/src/transport.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport.rs')
-rw-r--r--src/transport.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/transport.rs b/src/transport.rs
index 0d64b5a..c465b7c 100644
--- a/src/transport.rs
+++ b/src/transport.rs
@@ -240,7 +240,7 @@ impl Transport {
B: Into<Body> + 'static,
{
self.stream_upgrade(method, endpoint, body)
- .map(|u| crate::tty::Multiplexed::new(u))
+ .map(crate::tty::Multiplexed::new)
}
/// Extract the error message content from an HTTP response that