From 854a8215e0fe029b47deb7033d8b883792375416 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C4=99drzej=20Stuczy=C5=84ski?= Date: Wed, 9 Nov 2022 15:59:29 +0000 Subject: [PATCH] Derived Copy trait on Delay --- src/header/delays.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/header/delays.rs b/src/header/delays.rs index 6f06b69..8d90636 100644 --- a/src/header/delays.rs +++ b/src/header/delays.rs @@ -19,7 +19,7 @@ use std::{borrow::Borrow, time::Duration}; // TODO: once we get to proper refactoring, I think this should just be // a type alias to probably time::Duration -#[derive(Debug, Clone, PartialEq, Eq)] +#[derive(Debug, Clone, Copy, PartialEq, Eq)] pub struct Delay(u64); impl Delay {