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
No known key found for this signature in database
GPG Key ID: 58E8B2F2D323B505

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
}
}