From 95a3cff278e07ede7d1d315fcb3886cc673c8cb8 Mon Sep 17 00:00:00 2001 From: Tom Alexander Date: Sat, 4 Apr 2020 22:52:14 -0400 Subject: [PATCH] Deriving clone/debug --- src/duster/parser.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/duster/parser.rs b/src/duster/parser.rs index 0264c93..ae8d214 100644 --- a/src/duster/parser.rs +++ b/src/duster/parser.rs @@ -64,10 +64,12 @@ struct Span<'a> { contents: &'a str, } +#[derive(Clone, Debug)] pub struct Template<'a> { elements: Vec>, } +#[derive(Clone, Debug)] enum TemplateElement<'a> { TESpan(Span<'a>), TETag(DustTag<'a>),