aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2022-03-27 20:52:38 -0600
committerMelody Horn <melody@boringcactus.com>2022-03-27 20:52:38 -0600
commit5ec7457aaf47fb5b5739469337b6e9310462a9b9 (patch)
treebe8558d82c4458ab9000cfa4be88ceba0abadb1f /src
parent62f8330a499094506ae0c037f4e53719e0821fad (diff)
downloadkdl-schema-5ec7457aaf47fb5b5739469337b6e9310462a9b9.tar.gz
kdl-schema-5ec7457aaf47fb5b5739469337b6e9310462a9b9.zip
make Format derive Clone
Diffstat (limited to 'src')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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<Format>),
}
-#[derive(Debug, PartialEq, Eq)]
+#[derive(Clone, Debug, PartialEq, Eq)]
#[cfg_attr(feature = "parse-knuffel", derive(DecodeScalar))]
pub enum Format {
DateTime,