diff options
Diffstat (limited to '')
-rw-r--r-- | testing/tests/simple.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 8115fe0..a04b3fa 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -110,7 +110,8 @@ fn test_option() { #[derive(Template)] #[template(path = "generics.html")] -struct GenericsTemplate<T: std::fmt::Display, U> where U: std::fmt::Display { +struct GenericsTemplate<T: std::fmt::Display, U = u8> + where U: std::fmt::Display { t: T, u: U, } |