Derive debug on public structs (#62)

* Derive Debug on all public structs

* Enable a warning about missing debug implementations on public struct
This commit is contained in:
Thomas de Zeeuw
2017-12-06 10:19:21 -06:00
committed by Alex Crichton
parent 108e1a2c1a
commit cf793d4053
4 changed files with 7 additions and 0 deletions
+1
View File
@@ -56,6 +56,7 @@ pub trait UdpCodec {
/// You can acquire a `UdpFramed` instance by using the `UdpSocket::framed`
/// adapter.
#[must_use = "sinks do nothing unless polled"]
#[derive(Debug)]
pub struct UdpFramed<C> {
socket: UdpSocket,
codec: C,