return implicitly (rather than both explicitly and implicitly)

This commit is contained in:
Patrick Barrett
2017-01-14 13:00:46 -06:00
parent e502603532
commit 0c553f958a
+1 -1
View File
@@ -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
}
}