mirror of
https://github.com/tokio-rs/tokio.git
synced 2025-09-25 12:00:35 +00:00
return implicitly (rather than both explicitly and implicitly)
This commit is contained in:
parent
e502603532
commit
0c553f958a
@ -30,7 +30,7 @@ impl UdpCodec for LineCodec {
|
||||
|
||||
fn encode(&mut self, (addr, buf): Self::Out, into: &mut Vec<u8>) -> SocketAddr {
|
||||
into.extend(buf);
|
||||
return addr
|
||||
addr
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user