From 5543d715994f9bccd1c6600ecf98232cd240afa6 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Thu, 20 Jul 2017 20:53:59 +0100 Subject: [PATCH] attention: Use super::* in tests like every other module. --- src/attention.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/attention.rs b/src/attention.rs index b72079b9..e394785f 100644 --- a/src/attention.rs +++ b/src/attention.rs @@ -42,10 +42,7 @@ impl From for Element { #[cfg(test)] mod tests { - use try_from::TryFrom; - use minidom::Element; - use error::Error; - use super::Attention; + use super::*; #[test] fn test_simple() {