aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
Diffstat (limited to 'testing')
-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,