1
0
mirror of https://github.com/fafhrd91/actix-net synced 2025-06-28 14:30:36 +02:00

remove unused type parameter from Framed::replace_codec (#183)

This commit is contained in:
Rob Ede
2020-08-20 00:30:26 +01:00
committed by GitHub
parent 119dc39f5b
commit 27c6be9881
7 changed files with 9 additions and 6 deletions

View File

@ -117,7 +117,7 @@ impl<T, U> Framed<T, U> {
}
/// Consume the `Frame`, returning `Frame` with different codec.
pub fn replace_codec<U2, I2>(self, codec: U2) -> Framed<T, U2> {
pub fn replace_codec<U2>(self, codec: U2) -> Framed<T, U2> {
Framed {
codec,
io: self.io,