From cf8dc532f04440d5968265ee26852966c4a6c7b3 Mon Sep 17 00:00:00 2001 From: Dirkjan Ochtman Date: Fri, 7 Dec 2018 15:38:14 +0100 Subject: Remove unused macro_use attributes --- testing/tests/actix_web.rs | 3 +-- testing/tests/filters.rs | 1 - testing/tests/hello.rs | 1 - testing/tests/include.rs | 1 - testing/tests/inheritance.rs | 1 - testing/tests/iron.rs | 1 - testing/tests/loops.rs | 1 - testing/tests/macro.rs | 1 - testing/tests/matches.rs | 1 - testing/tests/methods.rs | 1 - testing/tests/operators.rs | 1 - testing/tests/rocket.rs | 1 - testing/tests/rust_macro.rs | 1 - testing/tests/simple.rs | 1 - testing/tests/vars.rs | 1 - 15 files changed, 1 insertion(+), 16 deletions(-) (limited to 'testing/tests') diff --git a/testing/tests/actix_web.rs b/testing/tests/actix_web.rs index e2d8bcf..880f907 100644 --- a/testing/tests/actix_web.rs +++ b/testing/tests/actix_web.rs @@ -1,7 +1,6 @@ #![cfg(feature = "actix")] -#[macro_use] -extern crate askama; extern crate actix_web; +extern crate askama; extern crate bytes; use actix_web::http::header::CONTENT_TYPE; diff --git a/testing/tests/filters.rs b/testing/tests/filters.rs index 0e48b05..15ce789 100644 --- a/testing/tests/filters.rs +++ b/testing/tests/filters.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; #[cfg(feature = "serde-json")] #[macro_use] diff --git a/testing/tests/hello.rs b/testing/tests/hello.rs index 09a2e22..ce73ff5 100644 --- a/testing/tests/hello.rs +++ b/testing/tests/hello.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/include.rs b/testing/tests/include.rs index f0158d7..8e6773b 100644 --- a/testing/tests/include.rs +++ b/testing/tests/include.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/inheritance.rs b/testing/tests/inheritance.rs index 8c07c4e..5a5cf0e 100644 --- a/testing/tests/inheritance.rs +++ b/testing/tests/inheritance.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/iron.rs b/testing/tests/iron.rs index 10dcee3..a385225 100644 --- a/testing/tests/iron.rs +++ b/testing/tests/iron.rs @@ -1,5 +1,4 @@ #![cfg(feature = "iron")] -#[macro_use] extern crate askama; extern crate iron; diff --git a/testing/tests/loops.rs b/testing/tests/loops.rs index a0736f5..647c9ca 100644 --- a/testing/tests/loops.rs +++ b/testing/tests/loops.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/macro.rs b/testing/tests/macro.rs index 77e0e59..42bcc99 100644 --- a/testing/tests/macro.rs +++ b/testing/tests/macro.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/matches.rs b/testing/tests/matches.rs index 9ea1d72..64e8f40 100644 --- a/testing/tests/matches.rs +++ b/testing/tests/matches.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/methods.rs b/testing/tests/methods.rs index d1e391f..41117e5 100644 --- a/testing/tests/methods.rs +++ b/testing/tests/methods.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/operators.rs b/testing/tests/operators.rs index 5e23dff..91db57d 100644 --- a/testing/tests/operators.rs +++ b/testing/tests/operators.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/rocket.rs b/testing/tests/rocket.rs index 93cf93d..2d1251a 100644 --- a/testing/tests/rocket.rs +++ b/testing/tests/rocket.rs @@ -1,7 +1,6 @@ #![cfg(feature = "with-rocket")] #![feature(proc_macro_hygiene, decl_macro)] -#[macro_use] extern crate askama; #[macro_use] extern crate rocket; diff --git a/testing/tests/rust_macro.rs b/testing/tests/rust_macro.rs index 90f1f3e..76ecbad 100644 --- a/testing/tests/rust_macro.rs +++ b/testing/tests/rust_macro.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/simple.rs b/testing/tests/simple.rs index 2cb404e..e4473fa 100644 --- a/testing/tests/simple.rs +++ b/testing/tests/simple.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; diff --git a/testing/tests/vars.rs b/testing/tests/vars.rs index 81263da..5ec343c 100644 --- a/testing/tests/vars.rs +++ b/testing/tests/vars.rs @@ -1,4 +1,3 @@ -#[macro_use] extern crate askama; use askama::Template; -- cgit