From 5ec7457aaf47fb5b5739469337b6e9310462a9b9 Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Sun, 27 Mar 2022 20:52:38 -0600 Subject: make Format derive Clone --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index 6b61dea..b622326 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -369,7 +369,7 @@ pub enum Validation { Format(#[cfg_attr(feature = "parse-knuffel", knuffel(arguments))] Vec), } -#[derive(Debug, PartialEq, Eq)] +#[derive(Clone, Debug, PartialEq, Eq)] #[cfg_attr(feature = "parse-knuffel", derive(DecodeScalar))] pub enum Format { DateTime, -- cgit v1.2.3