From 6cbfde04514a90d4e24350c21ef490c40666d820 Mon Sep 17 00:00:00 2001 From: Andrew Dona-Couch Date: Mon, 13 Nov 2023 14:07:30 -0500 Subject: Derive Clone for Expr and Target --- askama_parser/src/expr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'askama_parser/src/expr.rs') diff --git a/askama_parser/src/expr.rs b/askama_parser/src/expr.rs index 7760a98..76691be 100644 --- a/askama_parser/src/expr.rs +++ b/askama_parser/src/expr.rs @@ -49,7 +49,7 @@ macro_rules! expr_prec_layer { } } -#[derive(Debug, PartialEq)] +#[derive(Clone, Debug, PartialEq)] pub enum Expr<'a> { BoolLit(&'a str), NumLit(&'a str), -- cgit