aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorLibravatar Dirkjan Ochtman <dirkjan@ochtman.nl>2018-12-07 15:38:14 +0100
committerLibravatar Juan Aguilar <mhpoin@gmail.com>2018-12-08 21:43:20 +0100
commitcf8dc532f04440d5968265ee26852966c4a6c7b3 (patch)
treec85e22f31bd198ab4113c3e773a70098aa2dc7a4 /testing
parentb18664fe9fe773ff2e6c513c747313342bb6573a (diff)
downloadaskama-cf8dc532f04440d5968265ee26852966c4a6c7b3.tar.gz
askama-cf8dc532f04440d5968265ee26852966c4a6c7b3.tar.bz2
askama-cf8dc532f04440d5968265ee26852966c4a6c7b3.zip
Remove unused macro_use attributes
Diffstat (limited to 'testing')
-rw-r--r--testing/tests/actix_web.rs3
-rw-r--r--testing/tests/filters.rs1
-rw-r--r--testing/tests/hello.rs1
-rw-r--r--testing/tests/include.rs1
-rw-r--r--testing/tests/inheritance.rs1
-rw-r--r--testing/tests/iron.rs1
-rw-r--r--testing/tests/loops.rs1
-rw-r--r--testing/tests/macro.rs1
-rw-r--r--testing/tests/matches.rs1
-rw-r--r--testing/tests/methods.rs1
-rw-r--r--testing/tests/operators.rs1
-rw-r--r--testing/tests/rocket.rs1
-rw-r--r--testing/tests/rust_macro.rs1
-rw-r--r--testing/tests/simple.rs1
-rw-r--r--testing/tests/vars.rs1
15 files changed, 1 insertions, 16 deletions
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;