From ed89e5f027154c22fdde54a54bf69dcdf3a3ce00 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Wed, 8 Mar 2017 20:14:55 +0100 Subject: Remove type parameter defaults from impls (fixes #12) --- testing/tests/simple.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'testing/tests') 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 where U: std::fmt::Display { +struct GenericsTemplate + where U: std::fmt::Display { t: T, u: U, } -- cgit