From e0f60ca8dde7b828dcb440737f50f90639f33b70 Mon Sep 17 00:00:00 2001 From: jbg <39903+jbg@users.noreply.github.com> Date: Mon, 28 Oct 2019 14:45:36 +0000 Subject: Moved no-receiver size_hint method to a separate trait (#270) --- testing/tests/simple.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'testing') diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 519b87c..168644a 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -1,4 +1,4 @@ -use askama::Template; +use askama::{SizedTemplate, Template}; use std::collections::HashMap; @@ -24,7 +24,7 @@ fn test_variables() { Iñtërnâtiônàlizætiøn is important\n\ in vars too: Iñtërnâtiônàlizætiøn" ); - assert_eq!(VariablesTemplate::extension(), Some("html")); + assert_eq!(::extension(), Some("html")); } #[derive(Template)] -- cgit