From ade415d7b2cd693f059cbaef855308cda94a8e9c Mon Sep 17 00:00:00 2001 From: Ruben Nijveld Date: Fri, 14 Apr 2023 18:16:42 +0200 Subject: [PATCH] libc::timespec and libc::timeval do not have debug implementations --- ntp-udp/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ntp-udp/src/lib.rs b/ntp-udp/src/lib.rs index 88019be70..07af6cd06 100644 --- a/ntp-udp/src/lib.rs +++ b/ntp-udp/src/lib.rs @@ -40,7 +40,7 @@ impl Default for EnableTimestamps { } } -#[derive(Debug, Clone, Copy)] +#[derive(Clone, Copy)] pub(crate) enum LibcTimestamp { Timespec(libc::timespec), Timeval(libc::timeval),