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:
@ -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,
|
||||
|
Reference in New Issue
Block a user