aboutsummaryrefslogtreecommitdiffstats
path: root/testing/tests/simple.rs
diff options
context:
space:
mode:
authorLibravatar Bjørn Madsen <bm@aeons.dk>2020-01-29 09:32:39 +0100
committerLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2020-01-29 11:22:47 +0100
commit91c2bbf80468c12d0663330cff185f1d7680c91e (patch)
tree9cadabbc819ffeffb5ff02b1605cb5d614425b47 /testing/tests/simple.rs
parente507c6faf61488cbce23a16eb823816f45130019 (diff)
downloadaskama-91c2bbf80468c12d0663330cff185f1d7680c91e.tar.gz
askama-91c2bbf80468c12d0663330cff185f1d7680c91e.tar.bz2
askama-91c2bbf80468c12d0663330cff185f1d7680c91e.zip
Add support for warp
Diffstat (limited to 'testing/tests/simple.rs')
-rw-r--r--testing/tests/simple.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs
index a075d26..3544599 100644
--- a/testing/tests/simple.rs
+++ b/testing/tests/simple.rs
@@ -203,8 +203,9 @@ fn test_option() {
#[derive(Template)]
#[template(path = "generics.html")]
-struct GenericsTemplate<T: std::fmt::Display, U = u8>
+struct GenericsTemplate<T, U = u8>
where
+ T: std::fmt::Display,
U: std::fmt::Display,
{
t: T,