From 91c2bbf80468c12d0663330cff185f1d7680c91e Mon Sep 17 00:00:00 2001 From: Bjørn Madsen Date: Wed, 29 Jan 2020 09:32:39 +0100 Subject: Add support for warp --- testing/tests/simple.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing') 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 +struct GenericsTemplate where + T: std::fmt::Display, U: std::fmt::Display, { t: T, -- cgit