aboutsummaryrefslogtreecommitdiffstats
path: root/askama_parser/src/expr.rs
diff options
context:
space:
mode:
authorLibravatar Andrew Dona-Couch <hi@andrewcou.ch>2023-11-13 14:07:30 -0500
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2023-11-13 20:24:02 +0100
commit6cbfde04514a90d4e24350c21ef490c40666d820 (patch)
tree52a29253356507169e53ee94f5009ad2314adb17 /askama_parser/src/expr.rs
parentea4dab1251eccc63e8717c99327282b7af04671f (diff)
downloadaskama-6cbfde04514a90d4e24350c21ef490c40666d820.tar.gz
askama-6cbfde04514a90d4e24350c21ef490c40666d820.tar.bz2
askama-6cbfde04514a90d4e24350c21ef490c40666d820.zip
Derive Clone for Expr and Target
Diffstat (limited to 'askama_parser/src/expr.rs')
-rw-r--r--askama_parser/src/expr.rs2
1 files changed, 1 insertions, 1 deletions
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),