diff options
Diffstat (limited to 'components/net_traits/tests')
-rw-r--r-- | components/net_traits/tests/image.rs | 2 | ||||
-rw-r--r-- | components/net_traits/tests/pub_domains.rs | 2 | ||||
-rw-r--r-- | components/net_traits/tests/whitespace.rs | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/components/net_traits/tests/image.rs b/components/net_traits/tests/image.rs index 238fae97050..e7d2d460d7e 100644 --- a/components/net_traits/tests/image.rs +++ b/components/net_traits/tests/image.rs @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -extern crate net_traits; - use net_traits::image::base::detect_image_format; #[test] diff --git a/components/net_traits/tests/pub_domains.rs b/components/net_traits/tests/pub_domains.rs index 307dd2d81dc..c17f8ba8c07 100644 --- a/components/net_traits/tests/pub_domains.rs +++ b/components/net_traits/tests/pub_domains.rs @@ -2,8 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -extern crate net_traits; - use net_traits::pub_domains::{is_pub_domain, is_reg_domain, pub_suffix, reg_suffix}; // These tests may need to be updated if the PSL changes. diff --git a/components/net_traits/tests/whitespace.rs b/components/net_traits/tests/whitespace.rs index 4954e0f67f4..407b060de1b 100644 --- a/components/net_traits/tests/whitespace.rs +++ b/components/net_traits/tests/whitespace.rs @@ -2,7 +2,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -extern crate net_traits; +use net_traits; #[test] fn test_trim_http_whitespace() { |