remove unused pieces from PingPong (#134)

Adds some extra tests as well, to be sure.
This commit is contained in:
Sean McArthur
2017-10-05 19:16:14 -07:00
committed by GitHub
parent 2e3dcf602c
commit 720fb20bbf
5 changed files with 106 additions and 29 deletions

View File

@@ -30,7 +30,7 @@ where
codec: Codec<T, Prioritized<B::Buf>>,
/// Ping/pong handler
ping_pong: PingPong<Prioritized<B::Buf>>,
ping_pong: PingPong,
/// Connection settings
settings: Settings,