aboutsummaryrefslogtreecommitdiffstats
path: root/askama_derive
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--askama_derive/src/generator.rs8
1 files changed, 2 insertions, 6 deletions
diff --git a/askama_derive/src/generator.rs b/askama_derive/src/generator.rs
index 39a5380..7384c1d 100644
--- a/askama_derive/src/generator.rs
+++ b/askama_derive/src/generator.rs
@@ -2048,23 +2048,19 @@ fn median(sizes: &mut [usize]) -> usize {
}
}
-#[derive(Clone, PartialEq)]
+#[derive(Clone, Copy, PartialEq)]
enum AstLevel {
Top,
Block,
Nested,
}
-impl Copy for AstLevel {}
-
-#[derive(Clone)]
+#[derive(Clone, Copy)]
enum DisplayWrap {
Wrapped,
Unwrapped,
}
-impl Copy for DisplayWrap {}
-
#[derive(Debug)]
enum Writable<'a> {
Lit(&'a str),